Skip to content

Eazy xss wrapper help prevents cross-site scripting attacks

Notifications You must be signed in to change notification settings

mkojoa/eazy-xss-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eazy-xss-wrapper

made-with-csharp License: MIT

Eazy xss wrapper help prevents cross-site scripting attacks in .netcore application.

Fuel my efforts with a cup of Coffee.

Buy Me A Coffee

Get Started

Installation (Not Yet)

- Install-Package eazy-xss-wrapper

Add UseEazyXssWrapper() to aspnet core middleware pipeline.

  public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            app.UseEazyXssWrapper(Configuration); // Note: before UseRouting()
            app.UseRouting();
        }

Once you have configured the UseEazyXssWrapper() in Configure method of the Startup.cs file, you're ready to define the XssOptions in the app.settings.json.

appsettings
  "XssOptions": {
    "Enabled": true
  }

Contributing

Please do open issues if you spot any bugs, or would like to suggest new features/changes...

About

Eazy xss wrapper help prevents cross-site scripting attacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages