sessionid

Harm of passing session id as url parameter

纵饮孤独 提交于 2019-12-03 17:28:51
So I just noticed that one of the internet banks websites is passing session id as url parameter. ( See image below ) I didn't previously see anywhere that ';' in url, in this case it is after 'private;'. 1) What is the use of this ';'? 2) And why internet bank, which needs to be securest place in the internet is passing session id as url parameter? At first, I thought they are doing it because some of the users disallow use of cookies, but then again, if they allow it, use cookies, if not - url, but I do allow use of cookies, so obviously thats not the case. 3) I guess then they should have

Session ID not random enough - ASP.NET

孤人 提交于 2019-12-03 12:23:22
问题 UPDATE We eventually had a meeting with some programmers on the Acunetix team and they realized there may be a few bugs in their code that are causing this to be displayed in the scan as more of an issue than it actually may be. The general consensus was to ignore the scan results and use the out-of-the-box ASP.NET Session ID generation as it should be secure enough for our site. @Vasile Bujac since your answer was the only one and mentioned using the ASP.NET standard solution I took that as

Best practices for SessionId/Authentication Token generation

房东的猫 提交于 2019-12-03 10:59:30
问题 I have seen people using UUID for authentication token generation. However, in RFC 4122 it is stated that Do not assume that UUIDs are hard to guess; they should not be used as security capabilities (identifiers whose mere possession grants access), for example. I was wondering, what algorithms are used for example in Java and .NET for SessionId/AuthenticationToken generation. Is UUID indeed unsuitable for these purposes in an application that has more than average security needs? 回答1: UUID

Session ID not random enough - ASP.NET

杀马特。学长 韩版系。学妹 提交于 2019-12-03 03:36:35
UPDATE We eventually had a meeting with some programmers on the Acunetix team and they realized there may be a few bugs in their code that are causing this to be displayed in the scan as more of an issue than it actually may be. The general consensus was to ignore the scan results and use the out-of-the-box ASP.NET Session ID generation as it should be secure enough for our site. @Vasile Bujac since your answer was the only one and mentioned using the ASP.NET standard solution I took that as the answer, but thanks everyone for your help. We use Acunetix's Retina scanner at work to do security

Get logged on user's name or email on Windows 8 using C++ and WinAPIs

眉间皱痕 提交于 2019-12-02 15:44:41
问题 On Windows 7 to retrieve the name of a logged on user I can do this: LPTSTR pUserName = NULL; DWORD dwcbSzUserName = 0; //'dwSessID' = user session ID if(WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, dwSessID, WTSUserName, &pUserName, &dwcbSzUserName)) { //Got user name in 'pUserName' } if(pUserName) WTSFreeMemory(pUserName); But on Windows 8 it returns some abbreviated name, for instance, "john_000" when the actual user's name is "John A. Doe". So what is the way to retrieve the name

Get logged on user's name or email on Windows 8 using C++ and WinAPIs

≯℡__Kan透↙ 提交于 2019-12-02 10:25:21
On Windows 7 to retrieve the name of a logged on user I can do this: LPTSTR pUserName = NULL; DWORD dwcbSzUserName = 0; //'dwSessID' = user session ID if(WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, dwSessID, WTSUserName, &pUserName, &dwcbSzUserName)) { //Got user name in 'pUserName' } if(pUserName) WTSFreeMemory(pUserName); But on Windows 8 it returns some abbreviated name, for instance, "john_000" when the actual user's name is "John A. Doe". So what is the way to retrieve the name of the logged on user (and possibly their email) on Windows 8 with C++ using WinAPIs as it's shown at

Is a Session ID generated on the Server-side or Client-side?

断了今生、忘了曾经 提交于 2019-12-01 01:03:40
This web page http://www.w3schools.com/ASP/prop_sessionid.asp states that a session ID is generated on the ServerSide. If this is the case, then how does a server know it's still the same client on the 2nd request response cycle? Surely the SessionId would be generated on the ClientSide so that the client would be sure of passing the same value to the server? The SessionID is generated Server Side, but is stored on the Client within a Cookie. Then everytime the client makes a request to the server the SessionID is used to authenticate the existing session for the client. The session ID is

Transfer session across server in PHP

蓝咒 提交于 2019-12-01 00:46:34
问题 I need to transfer the user session across servers. ie. If user logged in server1 and if the user exists in server2 , then I have to transfer the user session details to server2. For this I used the following technique From server1, redirect user to http://server2/auth_from_server1.php?sessionid=12345 On server2 (internally, in the PHP code of auth_from_server1.php), do a request to http://server1/secret/check_session_id.php with the sessionid, 12345. On server1, in the implementation of

Check if PHP session_id is in use

浪尽此生 提交于 2019-11-30 14:25:00
I am building a web-app that users can upload certain files and work on them through the web-app interface. I need to store these files for the length of a users session. I am creating a folder for each user using the session_id as the folder name and storing the files in there. The problem: There is nothing to indicate that a user walked away from my site and the session is going out of use. I need a cleanup script that takes the name of each folder and checks if that session_id is still active in order to delete unused and now unreachable folders. How can I do this? I have had precisely the

ASP.NET session has expired or could not be found -> Because the Session.SessionID changes (Reporting Services)

三世轮回 提交于 2019-11-30 13:44:37
1.-I'm using reporting services and sometimes I get this error ASP.NET session has expired or could not be found when I try to load a report. 2.-I realized that I get this error when the Session.SessionID property changes even though the user is the same. If it does not change, the report is loaded. I mean, if I refresh the report a number of times, whenever the Session.SessionID is the same than the last one, the report is loaded. 3.-Microsoft Documentation says: When using cookie-based session state, ASP.NET does not allocate storage for session data until the Session object is used. As a