soster / htadmin Goto Github PK
View Code? Open in Web Editor NEWHTAdmin is a simple .htaccess and .htpasswd editor to secure web content on an nginx or apache web server
HTAdmin is a simple .htaccess and .htpasswd editor to secure web content on an nginx or apache web server
when revised the code.. you have a fairly abstract vision, which makes it difficult to collaborate if you don't have good programming skills specially when dont have good OOP skills ... that makes it difficult for any person to collaborate in your application
this issue is not only the usage of a new class as https://www.kavoir.com/2012/04/php-class-for-handling-htpasswd-and-htgroup-member-login-user-management.html ( that class provides a htpasswd with group support! )
but also the management of the gui ones.. at includes/user_table.php
(that list only user and mail, will now must list group also) and model/meta_model.php
(that abstract for OOP the user object from .htpasswd
and .meta
files now must hable a group array and now only a grou item)
i request for this cos the main clases index.php
it calls itselft to manage all the things.. by the usage of the rest of clasess. too abstrac and great .. but complicated for me! thanks` in advance.
hi i liked your app.. revised the code.. You have a fairly abstract vision, which makes it difficult to collaborate if you don't have good programming skills specially when dont have good OOP skills ... that makes it difficult for any person to collaborate in your application
currently the htpasswd
class ( at tools/htpasswd.php
) only handles a single file and assumes a single path , so it retrieves the path from the protected directory, that's fine only for shitty apache like noob admins..
in best practice deploys those files are far away from that dir,, so i guess i better to change it on the ini file in that way:
secure_file
or htpasswd
filehtpasswd
class ( at tools/htpasswd.php
) add the supprot of independient paths$fch = substr($htpasswdfile, 0, 1);
/
suing strcmp($fch, '/')
if TRUE
then use absolute paths,$fch = substr($htpasswdfile, 0, 3);
../
suing strcmp($fch, '../')
if TRUE
use directory app path as referencethanks in advance, i suggest another more advanced option.. by usage the more advanced htpasswd class that support groups
that class provides a htpasswd with group support!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.