=== Area Riservata Lite ===
Contributors: acreativestudio
Tags: client area, private area, documents, file sharing, elementor
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Private areas for each user with protected document downloads. Registration, login and account pages, with optional Elementor widgets.

== Description ==

**Area Riservata Lite** gives every user of your website a private area with their own documents. The administrator uploads files for each user, and each user can see and download only their own files. Files are never reachable through a public URL.

Ideal for accountants, lawyers, consultants, agencies, schools, gyms and anyone who needs to deliver documents (invoices, contracts, reports, certificates) to clients in a safe and tidy way.

= What you get =

* **Registration, login, documents area and account pages**, created automatically and ready to use.
* **File upload for each user**, from the WordPress admin (several files at once).
* **Protected and private downloads**: files are stored in a protected folder with random names and are served only to their owner (and to administrators).
* **Rename and delete** files.
* **Elementor widgets** (optional): Login, User registration, Documents area and User account, with color, typography, spacing and border settings. Everything also works with shortcodes, with or without Elementor.
* **Users stay out of the backend**: optionally hide the admin bar and block access to `/wp-admin` for regular users.
* **Private pages are not indexed** by search engines and are excluded from page caching.
* **Spam protection** on registration (hidden trap field and rate limit).
* **Translation ready**: English and Italian included.

= Shortcodes =

* `[acsarea_login]` – login form
* `[acsarea_register]` – registration form (registration is off by default and must be enabled in the settings)
* `[acsarea_area]` – documents area of the logged-in user
* `[acsarea_account]` – personal details and password

= Upgrade to Pro =

Need to manage many documents and many users? **Area Riservata Pro** adds: folders and subfolders to organize documents, upload of whole folders with drag and drop, moving files and folders by drag and drop, bulk actions, shared material available to all registered users, automatic email notifications to users, account deletion by the user, advanced Elementor styles, updates and support. Your data stays in place when you switch from Lite to Pro.

== Installation ==

1. Upload the `area-riservata-lite` folder to the `/wp-content/plugins/` directory, or install the plugin from the Plugins screen in WordPress.
2. Activate the plugin. The login, private area, account and registration pages are created automatically (registration stays closed until you turn it on in the settings).
3. Go to **Area Riservata → Users and documents**, pick a user and upload documents.
4. Optional: go to **Area Riservata → Settings** to turn on user registration, choose the pages and the primary color.

== Frequently Asked Questions ==

= Do I need Elementor? =

No. Elementor is optional. Without it, use the shortcodes in any page or block. With Elementor you also get four ready-made widgets.

= Can anyone download the files with a direct link? =

No. Files are stored in a protected folder and served only through the plugin after checking that the logged-in user owns the file (administrators can access every file).

= My server uses Nginx. Is it safe? =

On Apache, the plugin protects the private folder automatically. On Nginx, ask your hosting provider to block direct access to `/wp-content/uploads/acsarea-private/`.

= What is the maximum file size? =

It depends on your hosting configuration (`upload_max_filesize` and `post_max_size`). The limit is shown next to the upload button.

= Is user registration enabled by default? =

No. Enable it in **Area Riservata → Settings → Registration**. New users always get the "Subscriber" role.

= What happens to my data if I delete the plugin? =

By default nothing is deleted. If you want the plugin to remove its documents and settings when deleted, enable **Data on uninstall** in the settings first.

= Can I use it together with the Pro version? =

Only one of the two can be active at a time. The Pro version uses the same data, so upgrading does not lose anything.

== Screenshots ==

1. Documents area of a user, in grid view.
2. Login and registration pages.
3. Admin: documents manager for a user.
4. Plugin settings.
5. Elementor widgets with style options.

== Privacy ==

The plugin stores the documents uploaded by the administrator in a protected folder on your own server, and keeps the list of files in your WordPress database. The registration form stores the data entered by the user (name, username, email) as a standard WordPress user account. The plugin does not send data to external services and does not set tracking cookies. Remember to link your privacy policy page in **Settings → Privacy**: it is shown next to the registration checkbox.

== Changelog ==

= 1.0.0 =
* First public release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
