Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to write code for role based security

Answer Posted / raju

By using XMLfile we can implement rolebased security...I
mean Custom XMLfile only.....in XMlfile we can mention all
pages....for those pages we need to mention some values
(means whether he is authorized r not).....while loading
the page we can check in that XML file....whether the
entered Person is authenticated r not...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement Authentication and Authorization?

1062


What is state management in asp.net with example?

958


Is asp.net mvc still used? : Asp.Net MVC

980


Define satellite assemblies.

1060


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33

2128


Explain about asp.net caching?

1039


Explain transparent caching with aop?

946


What is the difference between viewstate and hidden field in asp.net?

1032


What is the difference between asp.net and mvc?

1120


What is difference between URL and URI?

1140


Which method do you use to kill explicitly a users session?

1064


How many types cache in asp net?

1083


How can I open ashx file in mobile?

1161


List the advantages and disadvantages of user control an custom control?

972


Explain the code Access Security (CAS) in .net Framework?

1241