开发者

Deny access to XML files

开发者 https://www.devze.com 2022-12-11 14:02 出处:网络
Is there a way to deny direct access to a XML file without affecting access to the 开发者_C百科SWF? Just if you implement a way to validate the SWF itself at the site, like using GET or POST variables

Is there a way to deny direct access to a XML file without affecting access to the 开发者_C百科SWF?


Just if you implement a way to validate the SWF itself at the site, like using GET or POST variables. The XML requested by the SWF is retrieved by the browser.

The GET or POST validation will grant access to the file to the right request, so if someone understands the scheme it'll be able to request the file from any browser.


You will always be able to intercept the XML file on the way to the SWF using a HTTP debugger like Fiddle. So there is no point trying to hide it.

0

精彩评论

暂无评论...
验证码 换一张
取 消