kendarorg / PhpNuget

Php nuget manager supporting complex queries on txt files or MySQL
http://www.kendar.org/?p=/dotnet/phpnuget
Other
23 stars 15 forks source link

Add Enterprise Authentication for Management Interface #80

Open SteveSimpson opened 4 years ago

SteveSimpson commented 4 years ago

I needed a better way to authenticate to the management script, so I added one. I think that this might add value for others, so I'm providing the code, I did a brief document on it so you can review.

This defers authentication (not authorization/privileges) to a schema controlled by the web server. So PhpNuget just trusts the username that it is provided by the web server. This does not touch password auth for the API.