Skip to content

Commit

Permalink
Update readme (#65)
Browse files Browse the repository at this point in the history
* Update readme

* Missed section
  • Loading branch information
olssonm authored Feb 22, 2024
1 parent 64dde90 commit e20be0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License (MIT)

Copyright (c) 2022 Marcus Olsson <contact@marcusolsson.me>
Copyright (c) 2024 Marcus Olsson <contact@marcusolsson.me>

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 1 addition & 12 deletions README.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ Laravel 5 Very Basic AuthはLaravel標準の`auth.basic`とは違い、実際の

Basic認証は望まないユーザーからのアクセスを排除することができますが、ブルートフォース攻撃に対しては厳密には安全ではありません。もしこのパッケージをセキュリティのために単独で利用するのであれば、ログインの試行回数を制限するために、少なくともApacheかNginxのrate-limitersを確認するべきです。

## 対応バージョン

Laravel | l5-very-basic-auth
:----------------------------------------------------------------------|:----------
`^5.4` | `5.*`
<code>^6 &#124;&#124; ^7 &#124;&#124; ^8 &#124;&#124; ^9</code> | `6.*`

#### Laravel4.xを使っている場合

[こちらのgistを見てください](https://gist.github.com/olssonm/ea5561d7ab20fb5c8ddbdac9b556b32b), 古い`Route::filter`を使って、ほぼ同様の機能を利用できます。

## インストール

Composer経由
Expand Down Expand Up @@ -148,7 +137,7 @@ $ phpunit

MITライセンスです。 詳しくはこちらを見てください。[License File](LICENSE.md)

© 2022 [Marcus Olsson](https://marcusolsson.me).
© 2024 [Marcus Olsson](https://marcusolsson.me).

[ico-version]: https://img.shields.io/packagist/v/olssonm/l5-very-basic-auth.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
Expand Down
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@ On failed authentication the user will get a "401 Unauthorized" response.

While HTTP Basic Auth does give you a protection layer against unwanted visitors, it is still not strictly safe from brute-force attacks. If you are solely using this package for security, you should at least consider looking into Apache or Nginx rate-limiters to limit login attempts.

## Version Compatibility

Laravel | l5-very-basic-auth
:---------------------------------------------------------------------------------------|:----------
`^5.4` | `5.*` (EOL/deprecated)
<code>^6 &#124;&#124; ^7 &#124;&#124; ^8 &#124;&#124; ^9 &#124;&#124; ^10</code> | `6.*` (EOL/deprecated)
<code>^6 &#124;&#124; ^7 &#124;&#124; ^8 &#124;&#124; ^9 &#124;&#124; ^10</code> | `7.*`

*The odd versioning is due to breaking changes in the testing framework and PHP versions. `3.x`-releases are for Laravel 5.4 (PHP 5.6 and up) and `4.x`-releases for Laravel 5.5.*

#### Using Laravel 4.x?

[Take a look at this gist](https://gist.github.com/olssonm/ea5561d7ab20fb5c8ddbdac9b556b32b), it uses the old `Route::filter`-methods to achieve pretty much the same goal.

## Installation

Via Composer
Expand Down Expand Up @@ -195,7 +181,7 @@ A big thank you to the people who has contributed to this package, among others:

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

© 2022 [Marcus Olsson](https://marcusolsson.me).
© 2024 [Marcus Olsson](https://marcusolsson.me).

[ico-version]: https://img.shields.io/packagist/v/olssonm/l5-very-basic-auth.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
Expand Down

0 comments on commit e20be0d

Please sign in to comment.