# easy-basic-authentication/1.1/easy-basic-authentication.php

Easy Basic Authentication – Add basic auth to site or admin area, version 1.1. 19 lines.

- Page: https://pluginprobe.com/plugins/easy-basic-authentication/1.1/code/easy-basic-authentication.php
- Raw: https://pluginprobe.com/plugins/easy-basic-authentication/1.1/raw/easy-basic-authentication.php
- Modified: 2023-10-01T17:02:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-basic-authentication/1.1/code/easy-basic-authentication.php#L10-L20`.

```php
<?php
   /*
   Plugin Name: Easy Basic Authentication
   description: Enhance WordPress security with Easy Basic Authentication plugin.
   Version: 1.1
   Author: Matteo Enna
   Author URI: https://matteoenna.it
   Text Domain: easy-basic-authentication
   License: GPL2
   */

    if ( ! defined( 'ABSPATH' ) ) {
        exit;
    }

    require_once (dirname(__FILE__).'/class/easy-basic-authentication-class.php');

    $scb = new easy_basic_authentication_class();

```
