CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.getting_started Tags:
Item Type: Date Entered: 1/22/2004 8:01:35 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 13 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"kristouf" <>
NewsGroup User
Authentication in ASP.NET1/22/2004 8:01:35 AM

0

Hi all,

My website contain 3 parts :
- 1 front office which anonymous users could see all the pages
- 1 back office which only admin could see the pages
- 1 part of teh website which only authentificated users could go.

In order to create this security, I want to use :
in my web.config

<authentication mode="Forms">
<forms name="AdminLogin" path="~/Admin" loginUrl="~/Admin/AdminLogin.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="dalche" password="admin"></user>
</credentials>
</forms>
</authentication>


but in this case, all my pages require a authentification.

Is it possible to say :
in public directory, no authentification,
in private directory : authentification by data contains in sql server
in Admin directory : authentification by Simple forms-based

Thanks for your esponses...

Séb
"almir_1" <>
NewsGroup User
Re: Authentication in ASP.NET1/22/2004 8:51:45 AM

0

What you need is role-based security in ASP.NET

Have a look at this article:

http://www.4guysfromrolla.com/webtech/121901-1.shtml
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













asp.net 2.0 login control password retieval error

timeout / validation of viewstate mac failed

windows authentication

codesmith with membership and profile providers?

http request interception

trying to set up the createuserwizard to work - just lost

thoughts on license keys for web site apps

how to formsauthentication.signout() when the session is ended

asp.net and exchange : create a new account

forms authentication problem emergency.

onmigrateanonymous event raised where?

error: access denied --urgent help plz

forgot password

using more than one login page in forms authentification?

httphandler to control media file access

web application security and hosting companies

manually create a user and add profile values problem

how to login in two iis server once

dynamic download links which expire

autentication problem moe=form

my hosting server, login controls and asp.net version 2

reading the membership section in web.config

cannot get site amin tool to recognize membership provider

question about user.identity.name

role management in windows auth

system.io.ioexception: logon failure: unknown user name or bad password

getting custom iprincipal etc nicely

getting logonserver and userdnsdomain from windows logged in user

login control.

go to new page

i think this one will be tough....

forms authentication across pages

cross site membership

trying to require login in directory only

displaying user name on main page after successful authentication

how to encrypt the password and store it in the data base and how to decrypt the encrypted data which is taken from database and check with the typed password in the text box ?

using securitystring

security trimming enabled

des cryptography problem

i don't see profile tab in website administration tool ?

get windows domain

impersonation problem in iis

client callbacks and forms authentication problem

error message on userlogin controls when user is locked out

require help understanding login controls

how to use events in createuserwizard control

your login attempt was not successful. please try again.

error in web.config

windows password prompt rather than redirecting to login form

connetct to windows authentication sql server in another box

   
  Privacy | Contact Us
All Times Are GMT