Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:38 AM
Marine Red
Guest
 
Posts: n/a
Default access right

Hi all,

I would like to do sth like this:
when clicking a page, it show you do not have the authorize to view the
page,
but after login, it is ok to view the contain.

Could anyone give me a example or link, I do not have the ideas..
Thanks in advance.



  #2  
Old July 19th, 2005, 11:38 AM
Ray at
Guest
 
Posts: n/a
Default Re: access right

You could simply disable anonymous access and make your users log in with
Windows accounts on the server. If they do not authenticate, they'll get
just what you said, "You are not authorized..."
http://www.iisfaq.com/?View=A26

Ray at work


"Marine Red" <marine@red.com> wrote in message
news:401faac2$1_2@rain.i-cable.com...[color=blue]
> Hi all,
>
> I would like to do sth like this:
> when clicking a page, it show you do not have the authorize to view the
> page,
> but after login, it is ok to view the contain.
>
> Could anyone give me a example or link, I do not have the ideas..
> Thanks in advance.
>
>
>[/color]


  #3  
Old July 19th, 2005, 11:39 AM
Peter Foti
Guest
 
Posts: n/a
Default Re: access right

"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u8EhK$l6DHA.3288@TK2MSFTNGP11.phx.gbl...[color=blue]
> You could simply disable anonymous access and make your users log in with
> Windows accounts on the server. If they do not authenticate, they'll get
> just what you said, "You are not authorized..."
> http://www.iisfaq.com/?View=A26
>
> Ray at work[/color]

But in the event that you don't have access to Windows accounts, you can
bake your own authentication. See this article for details:
http://www.aspfaq.com/show.asp?id=2114

Regards,
Peter Foti


  #4  
Old July 19th, 2005, 11:39 AM
Me Padre
Guest
 
Posts: n/a
Default Re: access right

Question...

Exactly how secure is the session("auth") = true method of
document security. I use it in a number of applications
but was wondering what level of security I am actually
applying. Can session variables be 'faked'?

Thanks.

[color=blue]
>-----Original Message-----
>"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot[/color]
com> wrote in[color=blue]
>message news:u8EhK$l6DHA.3288@TK2MSFTNGP11.phx.gbl...[color=green]
>> You could simply disable anonymous access and make your[/color][/color]
users log in with[color=blue][color=green]
>> Windows accounts on the server. If they do not[/color][/color]
authenticate, they'll get[color=blue][color=green]
>> just what you said, "You are not authorized..."
>> http://www.iisfaq.com/?View=A26
>>
>> Ray at work[/color]
>
>But in the event that you don't have access to Windows[/color]
accounts, you can[color=blue]
>bake your own authentication. See this article for[/color]
details:[color=blue]
>http://www.aspfaq.com/show.asp?id=2114
>
>Regards,
>Peter Foti
>
>
>.
>[/color]
  #5  
Old July 19th, 2005, 11:43 AM
·¦¥Ä@office
Guest
 
Posts: n/a
Default Re: access right

Great thanks both, the problem has solved.



"Peter Foti" <peter@Idontwantnostinkingemailfromyou.com> ¦b¶l¥ó
news:101vfummitesv39@corp.supernews.com ¤¤¼¶¼g...[color=blue]
> "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> message news:u8EhK$l6DHA.3288@TK2MSFTNGP11.phx.gbl...[color=green]
> > You could simply disable anonymous access and make your users log in[/color][/color]
with[color=blue][color=green]
> > Windows accounts on the server. If they do not authenticate, they'll[/color][/color]
get[color=blue][color=green]
> > just what you said, "You are not authorized..."
> > http://www.iisfaq.com/?View=A26
> >
> > Ray at work[/color]
>
> But in the event that you don't have access to Windows accounts, you can
> bake your own authentication. See this article for details:
> http://www.aspfaq.com/show.asp?id=2114
>
> Regards,
> Peter Foti
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles