Click here to Skip to main content
15,895,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem in getting class variable value in javascript/html [modified] Pin
kmuthuk16-Feb-07 9:38
kmuthuk16-Feb-07 9:38 
AnswerRe: Problem in getting class variable value in javascript/html Pin
Guffa16-Feb-07 10:52
Guffa16-Feb-07 10:52 
GeneralRe: Problem in getting class variable value in javascript/html Pin
kmuthuk16-Feb-07 11:02
kmuthuk16-Feb-07 11:02 
AnswerRe: Problem in getting class variable value in javascript/html Pin
Guffa16-Feb-07 15:07
Guffa16-Feb-07 15:07 
Questiondatagrid-direction Pin
luckyve16-Feb-07 8:59
luckyve16-Feb-07 8:59 
AnswerRe: datagrid-direction Pin
MoustafaS16-Feb-07 10:43
MoustafaS16-Feb-07 10:43 
GeneralRe: datagrid-direction Pin
luckyve16-Feb-07 20:34
luckyve16-Feb-07 20:34 
QuestionUser can circumvent the Security Pin
kjosh16-Feb-07 8:35
kjosh16-Feb-07 8:35 
Hello all,

I am working on a website which is using Forms Authentication.

For example we have different Roles as Admin and LocalUsers. LocalUser cannot view the Admin Menu Items and cannot access the Admin Pages.

But if the User Copies and Pastes the URL for Admin Page, while he is logged on as a LocalUser, he can see the Admin Page even though he do not have permissions to view that page.

I know that we can check the Roles in the PageLoad before giving access to the Page by User.ISINRole("Admin") and if does not have that role, I can Redirect him to the Login Page.

But is there any centralized way where we can do this. Or do we need to check the Roles in each and Every page.

Thanks In Advance


AnswerRe: User can circumvent the Security Pin
Michael Sync16-Feb-07 21:36
Michael Sync16-Feb-07 21:36 
Questionweb developer server to IIS Pin
arunkamath16-Feb-07 7:22
arunkamath16-Feb-07 7:22 
AnswerRe: web developer server to IIS Pin
Marcus J. Smith16-Feb-07 7:59
professionalMarcus J. Smith16-Feb-07 7:59 
QuestionRegular Expression Problem Pin
adnanrafiq16-Feb-07 7:20
adnanrafiq16-Feb-07 7:20 
AnswerRe: Regular Expression Problem Pin
ednrgc16-Feb-07 9:20
ednrgc16-Feb-07 9:20 
GeneralRe: Regular Expression Problem Pin
adnanrafiq16-Feb-07 9:40
adnanrafiq16-Feb-07 9:40 
Questionasp.net & Oracle Pin
aransiola16-Feb-07 6:14
aransiola16-Feb-07 6:14 
AnswerRe: asp.net & Oracle Pin
sathesh pandian19-Feb-07 23:25
sathesh pandian19-Feb-07 23:25 
QuestionApplication settings in constructor Pin
mail57235216-Feb-07 5:31
mail57235216-Feb-07 5:31 
AnswerRe: Application settings in constructor Pin
kubben16-Feb-07 6:00
kubben16-Feb-07 6:00 
AnswerRe: Application settings in constructor Pin
badgrs16-Feb-07 6:01
badgrs16-Feb-07 6:01 
AnswerRe: Application settings in constructor Pin
thowra16-Feb-07 7:52
thowra16-Feb-07 7:52 
Questionhow to create a link in a grid view's each row to navigate to some other page Pin
theprofound16-Feb-07 4:25
theprofound16-Feb-07 4:25 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 4:49
badgrs16-Feb-07 4:49 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
-Dr_X-16-Feb-07 5:04
-Dr_X-16-Feb-07 5:04 
GeneralRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 5:30
badgrs16-Feb-07 5:30 
QuestionDisplay excel files in web browser Pin
venkatasivaramaprasad15-Feb-07 23:41
venkatasivaramaprasad15-Feb-07 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.