I have a website where users can post comments. I want to know that if they find an xss hole, if they can still get the cookie data although it's httpOnly with some kind of XHTTPrequest, Ajax 开发者_Go百科call or something. Is it possible?
HTTP-only cookies cannot be retrieved by JavaScript. Hence "HTTP-only".
精彩评论