forms authentication question

  • Thread starter Thread starter Phil Townsend
  • Start date Start date
P

Phil Townsend

I am developing an app which utilizes forms authentication. Users log in
and are members of roles, the roles being defined in a SQL Server table.
Periodically, I need to identify which role a user belongs to. I also
need to be able to deliver an error message to users if they attempt to
browse to a directory in which their role does not have access. Any help
with this? Thanks!
 
Phil Townsend said:
I am developing an app which utilizes forms authentication. Users log in
and are members of roles, the roles being defined in a SQL Server table.
Periodically, I need to identify which role a user belongs to. I also
need to be able to deliver an error message to users if they attempt to
browse to a directory in which their role does not have access. Any help
with this? Thanks!

It seems like you are wanting to enforce directory authorizations through
your own application with it's own definition of roles etc. Are these
directories actual directories that could be viewed using Explorer? Or are
they virtual directories that your application creates - e.g. like a
document library where you store documents in a hierarchy but eveything
really resides in a database.

SP
 
Back
Top