On the main HTML web page, how do you force a user to enter a username and password before they are allowed to upload a file?
What is the best way to achieve this on a website, preferably in plain HTML?
You cannot do this with plain HTML. The easiest way is to place the protected file in a directory protected by .htaccess and .htpasswd files.
This is not possible in HTML.
, , , , - JavaScript, , URI.
-.
... . JavaScript ... .
Apache, .htaccess , , . 1 , . Apache . , , IIS .
/ , ( exsitng) . , , Google , , .
phpmyadmin.open .click create login.name, login.php.then file.php.after , . , , ,
, !
Source: https://habr.com/ru/post/1747146/More articles:PHP - how do you sanitize your contact forms? - securityhow to set project launch through coding in C # - c #Return and instance of a class given its .class (MyClass.class) - javaMongoDB map / decrease - mongodbHow to determine virtual IP programmatically? - javaJava: embedded database - javaRegular expression for dd / mm - c #Проблема конструктора С# при использовании дженериков - genericsWhat should I put in href when I prototype? - htmlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1747151/php-regular-express-to-remove-h1-tags-and-their-content&usg=ALkJrhj4gFxMl_H0myoM_DqAnU8YokhDWwAll Articles