# p0deje's sec & qa blog > p0deje's sec & qa blog skip to main | skip to sidebar p0deje's sec & qa blog don't hope to find there smth outstanding 2/17/2012 Content Security Policy for Rack A long time ago I have implemented Content Security Policy as Rack middleware for my Ruby on Rails project. In short, CSP is a XSS mitigation mechanism. Server responds with HTTP header which defines trustworthy sources for different types of content (js, css, images) and browser restricts content from other sources. Location: Global ## Categories - Other Businesses & Services ## Documents - [Business profile](https://directory.websdocs.com/business/p0deje-s-sec-and-qa-blog) - [Directory JSON](https://directory.websdocs.com/business/p0deje-s-sec-and-qa-blog.json) - [Schema.org JSON-LD](https://directory.websdocs.com/business/p0deje-s-sec-and-qa-blog/schema.jsonld) - [Directory sitemap](https://directory.websdocs.com/sitemap.xml) - [Directory discovery manifest](https://directory.websdocs.com/.well-known/asg-directory.json) - [Directory OpenAPI](https://directory.websdocs.com/api/openapi.json) - [Official website](https://p0deje.blogspot.com/)