Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
olssonm committed Feb 22, 2024
1 parent 64dde90 commit c82a92f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 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 <[email protected]>
Copyright (c) 2024 Marcus Olsson <[email protected]>

> 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
9 changes: 1 addition & 8 deletions README.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +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`を使って、ほぼ同様の機能を利用できます。
Expand Down Expand Up @@ -148,7 +141,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
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +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.
Expand Down Expand Up @@ -195,7 +185,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 c82a92f

Please sign in to comment.