Added the secure logins for site.
removed htaccess in favor of a custom authentication. Most pages are linking to the secure login screen now. I added a minutes page to keep the meeting minutes. Successful logins.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
AuthType Basic
|
||||
AuthBasicProvider ldap
|
||||
AuthName "Roaming Access"
|
||||
AuthLDAPURL ldap://ds.cse.msu.edu:389/ou=People,dc=cse,dc=msu,dc=edu?uid?sub
|
||||
AuthLDAPGroupAttribute memberUid
|
||||
AuthLDAPGroupAttributeIsDN off
|
||||
Require user cse435
|
||||
Require user joseph62
|
||||
Require user alphastep
|
||||
Require user arentlog
|
||||
Require user coppers4
|
||||
Require user murra203
|
||||
27
secure/index.php
Normal file
27
secure/index.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Secure Pages Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Secure Pages Login</h1>
|
||||
<form action="../post/login.php" method="post">
|
||||
<fieldset>
|
||||
<legend>Login</legend>
|
||||
<p>
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" placeholder="Username">
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" placeholder="Password">
|
||||
</p>
|
||||
<input type="submit" name="Submit" value="Submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
14
secure/minutes.php
Normal file
14
secure/minutes.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/protected.inc.php";
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Meeting Minutes</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Meeting Minutes</h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user