Using Forms authentication with remote auth system?
Posted
by
chobo
on Stack Overflow
See other posts from Stack Overflow
or by chobo
Published on 2012-03-20T17:19:04Z
Indexed on
2012/03/20
17:29 UTC
Read the original article
Hit count: 184
I am working on a website that uses a remote websites database to check for authentication (they are both share some database tables, but are separate website...)
Right now I check the username and password against the remote websites account / member table, if there is a match I create a session.
Questions:
Is this secure? On authenticated pages I just check if a session of a specific type exists.Is it possible for someone to create an empty session or something that could bypass this?
Is it possible to use Forms authentication with this setup? Right now if a user is authenticated I just get an object back with the username, email and id.
© Stack Overflow or respective owner