Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows impersonation token expiration time

Does anyone knows what is the expiration time for windows tokens created by LogonUser windows API method?

I was about to test it myself by polling whether the token changed each 10 minutes, but maybe it would be easier to ask what is the expiration time and where I can find the documentation that describes this.

What would be the default expiration time for the impersonation tokens? Can that be configured somewhere in the Active Directory?

Thanks, AD

like image 394
A.D. Avatar asked Dec 05 '25 10:12

A.D.


1 Answers

The expiration time of a standard logon token is infinite (0) because it is currently not supported. See here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa379632%28v=vs.85%29.aspx

ExpirationTime

Specifies the time at which this token expires. Expiration times for access tokens are not currently supported.

like image 106
ChristianWimmer Avatar answered Dec 07 '25 00:12

ChristianWimmer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!