[cups.development] How to Delete authentication cookie
Michael Sweet
msweet at apple.com
Tue Feb 21 20:23:23 PST 2012
The session ID is not used for authentication, it is used for cross-site scripting protection.
On Feb 21, 2012, at 8:54 AM, vipul mahajan wrote:
> I thought it can be done by modifying "cgiSetCookie" function call in "cgi_set_sid" function in var.c. In the parameters of "cgiSetCookie" time is '0' which means cookie will expire when the browser will close. If we change it can it be possible?
>
>> You'd need to check with your browser vendor, but no browser that I am aware of provides this functionality (Firefox might be able to be extended for this via a plugin).
>>
>>
>> On Feb 20, 2012, at 11:39 PM, vipul mahajan wrote:
>>
>>> And how can I found that? Currently which browsers provide such facility?
>>>
>>>
>>>> Only if your browser provides this functionality.
>>>>
>>>>
>>>> On Feb 20, 2012, at 11:26 PM, vipul mahajan wrote:
>>>>
>>>>> I noticed that once authentication is done, CUPS GUI never ask for username password till we restart the browser. I want that after fixed amount of time that authentication should expire & it should re-ask for username password. Is it possible to do so?
>>>>>
>>>>>> There is no authentication cookie, CUPS uses HTTP authentication (via WWW-Authenticate/Authorization headers).
>>>>>>
>>>>>> The only cookie set by CUPS is for cross-site scripting protection.
>>>>>>
>>>>>>
>>>>>> On Feb 20, 2012, at 3:12 AM, vipul mahajan wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I want to delete the authentication cookie set by CUPS GUI when a user login. Is it possible to do so?
>>>>>>> _______________________________________________
>>>>>>> cups-dev mailing list
>>>>>>> cups-dev at easysw.com
>>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>>>>
>>>>>> _________________________________________________________
>>>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> cups-dev mailing list
>>>>> cups-dev at easysw.com
>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>>
>>>> _________________________________________________________
>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>>>
>>>
>>> _______________________________________________
>>> cups-dev mailing list
>>> cups-dev at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>
>> _________________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>
>
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev
_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups-devel
mailing list