title: Codeigniter - Restricting direct access to controller functions from URL call
body: <p>I want to know if there is any way through which I can restrict access to my controller functions through URL. But I want to give them a call through my link in the site. For example if I have a link in my site which points to a controller function:</p>
  
  <pre><code>&lt;a href='test/function'&gt;Call me&lt;/a&gt;
  </code></pre>
  
  <p>But I don't want the controller function to be called when I place the above URL in my browser address bar. Can anyone help with this?</p>