Ask a Question related to ASP.NET Security, Design and Development.
-
vips #1
redirecting to main page
I am working on asp.net application
what should I do so that if any user directly types the url other than
"mainpage.aspx" of my application, he should be directed to
"mainpage.aspx".
I am managing user access by enabling and disabling the links on the web
page depending on the user.
cheers
vips Guest
-
Start Page gives incorrect link to site's main page
I designed a small site in Dreamweaver and imported it into Contribute. It's an ASP-based site, so the index file is index.asp, not index.html. I... -
redirecting from another page besides the login page
We have forms authentication working on a website. A user is presented the login page where he can login or press a button to go to the... -
redirecting to a page
Hi every one, How can I redirect to a page after having checked that user was logged in correctly .... select id_user, user_login,... -
redirecting from .aspx page to .asp page
There is no great way to share session state between ASP and ASP.NET. But that doesn't mean you don't have options. Here are some common ways:... -
Redirecting to another page, after doing something
Hi After I have done some work on one of my php pages, I want to go to another page, and have that display, but I can't seem to work out how to... -
Brock Allen #2
Re: redirecting to main page
You should look into the <authorization> element in web.config -- this allows
you to specify who is and isn't allowed to see certain pages and it automatically
redirects the user to a login page (or any page you specify) if they're not
authorized:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfauthorizationsection.asp[/url]
And here's a way more in depth look:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch03.asp[/url]
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> I am working on asp.net application
> what should I do so that if any user directly types the url other than
> "mainpage.aspx" of my application, he should be directed to
> "mainpage.aspx".
> I am managing user access by enabling and disabling the links on the
> web
> page depending on the user.
> cheers
>
Brock Allen Guest
-
vips #3
Re: redirecting to main page
how to use roles ...do i need to create tables ??
what should be the table strcuture ..
can u give me an example of creating this security model ...if I am using
windows based authentication.
please help...
"Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
news:303934632477757022294672@msnews.microsoft.com ...allows> You should look into the <authorization> element in web.config -- thisautomatically> you to specify who is and isn't allowed to see certain pages and itnot> redirects the user to a login page (or any page you specify) if they're[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfauthorizationsection.asp[/url]> authorized:
>
>[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch03.asp[/url]>
> And here's a way more in depth look:
>
>>
> -Brock
> DevelopMentor
> [url]http://staff.develop.com/ballen[/url]
>
>
>>> > I am working on asp.net application
> > what should I do so that if any user directly types the url other than
> > "mainpage.aspx" of my application, he should be directed to
> > "mainpage.aspx".
> > I am managing user access by enabling and disabling the links on the
> > web
> > page depending on the user.
> > cheers
> >
>
>
vips Guest
-
Brock Allen #4
Re: redirecting to main page
The docs cover that. Also, the second link I gave you should give you more
insights. But yes, windows authentication is supported and it does allow
you to specify the windows groups.
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> how to use roles ...do i need to create tables ??
> what should be the table strcuture ..
> can u give me an example of creating this security model ...if I am
> using
> windows based authentication.
> please help...
>
> "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
> news:303934632477757022294672@msnews.microsoft.com ...
>> allows>> You should look into the <authorization> element in web.config --
>> this
>>
>> automatically>> you to specify who is and isn't allowed to see certain pages and it
>>
>> not>> redirects the user to a login page (or any page you specify) if
>> they're
>>
>> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgen[/url]>> authorized:
>>
> ref/html/gngrfauthorizationsection.asp
>> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnet[/url]>> And here's a way more in depth look:
>>
> sec/html/SecNetch03.asp
>>> -Brock
>> DevelopMentor
>> [url]http://staff.develop.com/ballen[/url]>>> I am working on asp.net application
>>> what should I do so that if any user directly types the url other
>>> than
>>> "mainpage.aspx" of my application, he should be directed to
>>> "mainpage.aspx".
>>> I am managing user access by enabling and disabling the links on the
>>> web
>>> page depending on the user.
>>> cheers
Brock Allen Guest



Reply With Quote

