Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
patord #1
Username and password security
Hi
I have a webservice that takes a username and password to create a sessionkey,
for use with other webservices, this session key has a timeout of 30 mins.
Without having to make the user log back into the site every half hour I have
st up a session scope that checks the login time session expiry time (login
+29mins), username, password and obviously the sessionkey itself for access
through out the site. In the application.cfm, I have set a check of the login
time and expiry, then run the webservice that checks the username and password
in the session bringing back a new session key with the times reset and so it
goes on. This works very well but the problem I have is that it is probably
not a good Idea to set the username and pasword in the session scope is it true
that this is not very secure and is there a better way outside of storing it in
a database to make these variables available through out the site when the
session expires. Code attached is the call to the service from application.cfm
when the expiry time is reached.
Thanks
MW
<cfif #now()# GTE #SESSION.iress.SessionExpiry#>
<cftry>
<cfscript>
oLogon = createObject("component", "services.iress.logon");
stClient = oLogon.login(username="#SESSION.iress.username#",
password="#SESSION.iress.password#");
</cfscript>
<cfcatch>
<cfrethrow />
</cfcatch>
</cftry>
<cfelse>
</cfif>
patord Guest
-
username and password
Hi all, My website host moved my site onto bigger servers and my ftp usermane and password had to be changed. Apparently the Contribute software... -
password/username
i have figured out how to "insert record' and when i fill in the text areas the page inserts the names into my database labeled passwords. what i... -
Security of FTP username/password in connection keys?
We will be setting up FTP accounts for our Contribute users. For security reasons we cannot give them their usernames and passwords, but rather... -
Username, Password, Pin
Hi, I would like to make a password protected page, whereby the user enters their username, password and pin. When the click the submit button, it... -
Username and password?
Thanks for this but I keep getting directed to Dreamweaver UltraDev. Do I need this or can I do it with MX? northerncaller



Reply With Quote

