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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top