ServerMonitor icon indicating copy to clipboard operation
ServerMonitor copied to clipboard

Private monitoring ?

Open akhilleusuggo opened this issue 6 years ago • 3 comments

Hello Daniel . Anyway to make it private ? Because it makes it public to everyone . Anyway to make it more private ?

akhilleusuggo avatar Aug 27 '19 07:08 akhilleusuggo

this project is not being used anymore. I may delete it.

DanielnetoDotCom avatar Aug 27 '19 12:08 DanielnetoDotCom

Well the idea it's really cool , I like it . But since it's public , it's not that nice

akhilleusuggo avatar Aug 27 '19 18:08 akhilleusuggo

@DanielnetoDotCom I would not delete it, it is old, but still useful.

@akhilleusuggo Adding a password query should not be that hard. I have done the following, happy my design can be adopted. the password can be changed in the source code. The password is 123. I've inserted the following code after the first </ head> tag of the index.php file.

<p><center>
<?php

#Here you can change the password
$passwort = "123";

if (isset($_POST["go"])) {
 if ($_POST["name"] == $passwort) {
?>
</p></center>

and before the last </ html> tag this

<?php
 }
 else {

echo '<p><b><font color="red">Password wrong!</font></b><br><br>';
echo '<a href="index.php">
Try again
</a></p>';
 }
}
else
{
?>


<form action="index.php" method="post">
<input type="Password" required placeholder="Enter Password" name="name">
<input type="Submit" name="go" value="Login">
</form>

<?php
}	
?>

I know it's primitive, but it serves its purpose.

Donnerstein avatar Oct 07 '19 06:10 Donnerstein