title: Protect Admin Folder htaccess recording to the session
body: <p>This is the index.php file </p>
  
  <pre><code>&lt;?php 
  session_start();
  if($_SESSION['login_success'] != "login_success")
  {
  header('Location: ../');
  }
  ?&gt;  
  </code></pre>
  
  <p>I want to protect other files in the same folder from Downloading and Accessing
  Maybe Something like htaccess file check if the session is true too</p>