home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Maschine's webscheduler for Media Portal
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Anonymous" data-source="post: 6548"><p><strong>Securing Maschine's webscheduler with .htaccess</strong></p><p></p><p>Hi,</p><p></p><p>First of all thanks to Maschine for a great tool.</p><p></p><p>I've made a guide to secure access to the webscheduler:</p><p></p><p>To secure a folder with .htaccess you ned to create 2 plain textfiles ( use notepad or semilar )</p><p></p><p>The files must be places in the same folder as Mashines PHP files in my case C:\apachefriends\xampp\htdocs</p><p></p><p>First we create a file that tells apache to secure the folder:</p><p>- First we create a file called htaccess in the above folder ( be sore you have no extension on the file )</p><p>- Launch a dos command ( start - run - "cmd" and press enter ) </p><p>- type "cd C:\apachefriends\xampp\htdocs" ( without quotes)</p><p>- type ren htaccess .htaccess ( this because windows will not let you create a file called .htaccess )</p><p>- exit dos command</p><p>- open the file (.htaccess) with notepad</p><p></p><p>- Fill in this (following 4 lines):</p><p>AuthName "Enter username and password to access Maschine's webscheduler"</p><p>AuthType Basic</p><p>AuthUserFile c:\apachefriends\xampp\htdocs\htpasswd</p><p>require valid-user</p><p>- (AuthUserFile tells apache where to look for the usernames and passwords, more about that file later.)</p><p>- Save the file and exit notepad.</p><p></p><p></p><p>Now we create a file with users and passwords:</p><p>- Create a file called htpasswd (again, no extension)</p><p>- Open the file</p><p>- The format of the file is user<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />assword fx:</p><p> santa:christmas</p><p> merry:newyear</p><p> The 2 lines above will alow santa to access the site with one password and merry to access it with another.</p><p> If you want to encrypt the passwords look here <a href="http://www.webcafe.dk/artikler/apache/htaccesskrypterpassword/" target="_blank">http://www.webcafe.dk/artikler/apache/htaccesskrypterpassword/</a></p><p> I now it's danish but i guess you all speak danish ;-) </p><p> - Type your username in the "Brugernavn" textbox</p><p> - Type your password in "Password" textbox</p><p> - Press "Krypter" button</p><p> - the line to fill into your htpasswd is written in red (fx dk_akj:ZGC9H3.puTezA )</p><p></p><p> </p><p>- Save the file and exit notepad.</p><p>- Close all browsers</p><p>- Open webscheduler and see if it works.</p><p></p><p>NB: I'm novice in Apacheworld so please feel free to correct me if something is wrong.</p><p></p><p></p><p>Anders</p></blockquote><p></p>
[QUOTE="Anonymous, post: 6548"] [b]Securing Maschine's webscheduler with .htaccess[/b] Hi, First of all thanks to Maschine for a great tool. I've made a guide to secure access to the webscheduler: To secure a folder with .htaccess you ned to create 2 plain textfiles ( use notepad or semilar ) The files must be places in the same folder as Mashines PHP files in my case C:\apachefriends\xampp\htdocs First we create a file that tells apache to secure the folder: - First we create a file called htaccess in the above folder ( be sore you have no extension on the file ) - Launch a dos command ( start - run - "cmd" and press enter ) - type "cd C:\apachefriends\xampp\htdocs" ( without quotes) - type ren htaccess .htaccess ( this because windows will not let you create a file called .htaccess ) - exit dos command - open the file (.htaccess) with notepad - Fill in this (following 4 lines): AuthName "Enter username and password to access Maschine's webscheduler" AuthType Basic AuthUserFile c:\apachefriends\xampp\htdocs\htpasswd require valid-user - (AuthUserFile tells apache where to look for the usernames and passwords, more about that file later.) - Save the file and exit notepad. Now we create a file with users and passwords: - Create a file called htpasswd (again, no extension) - Open the file - The format of the file is user:password fx: santa:christmas merry:newyear The 2 lines above will alow santa to access the site with one password and merry to access it with another. If you want to encrypt the passwords look here [url]http://www.webcafe.dk/artikler/apache/htaccesskrypterpassword/[/url] I now it's danish but i guess you all speak danish ;-) - Type your username in the "Brugernavn" textbox - Type your password in "Password" textbox - Press "Krypter" button - the line to fill into your htpasswd is written in red (fx dk_akj:ZGC9H3.puTezA ) - Save the file and exit notepad. - Close all browsers - Open webscheduler and see if it works. NB: I'm novice in Apacheworld so please feel free to correct me if something is wrong. Anders [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Maschine's webscheduler for Media Portal
Contact us
RSS
Top
Bottom