There is no password protect #3

Closed
opened 2020-06-21 23:53:46 +08:00 by ashish453 · 8 comments
ashish453 commented 2020-06-21 23:53:46 +08:00 (Migrated from github.com)

In Heymind version we can inout user name and password for our index site but in your php script i can't find any:(
please add this feature

In Heymind version we can inout user name and password for our index site but in your php script i can't find any:( please add this feature
SomeBottle commented 2020-06-21 23:59:26 +08:00 (Migrated from github.com)

image

Oh buddy, I have added the feature of protecting directory by password before, but what makes it different is that you need to convert your password to lowercase 32-bit md5 and write it in a .password file which is put under the directory you're willing to protect.

![image](https://user-images.githubusercontent.com/12976469/85229121-9dee2200-b41a-11ea-91e1-e906acb5fa4d.png) Oh buddy, I have added the feature of protecting directory by password before, but what makes it different is that you need to convert your password to **lowercase 32-bit md5** and write it in a .password file which is put under the directory you're willing to protect.
SomeBottle commented 2020-06-22 00:02:46 +08:00 (Migrated from github.com)

Limited by the api's frequency limitation , the password is only able to protect the directory from being listed.If someone knows the filepath under the directory , the password protection will no longer be useful.

Limited by the api's frequency limitation , the password is only able to protect the directory from being listed.If someone knows the filepath under the directory , the password protection will no longer be useful.
ashish453 commented 2020-06-22 00:05:21 +08:00 (Migrated from github.com)

@SomeBottle I think adding .password file will only work on directory level !!
and if someone will will share the file link then there is no work of password inside .password

Correct me if i am wrong!

opps i find your comment late !!

@SomeBottle I think adding .password file will only work on directory level !! and if someone will will share the file link then there is no work of password inside .password Correct me if i am wrong! opps i find your comment late !!
SomeBottle commented 2020-06-22 00:06:31 +08:00 (Migrated from github.com)

Oh, I haven't test the password protection for the index page , if the .password file under the index directory doesn't work , I'll check it out later.

Thanks for your feedback , if there's any problem , I'll try to fix it a month later due to my preparing entrance exam of college .

Oh, I haven't test the password protection for the index page , if the **.password** file under the index directory doesn't work , I'll check it out later. Thanks for your feedback , if there's any problem , I'll try to fix it a month later due to my preparing entrance exam of college .
ashish453 commented 2020-06-22 00:07:36 +08:00 (Migrated from github.com)

Ok :)

Ok :)
SomeBottle commented 2020-06-25 15:11:50 +08:00 (Migrated from github.com)

QQ截图20200625145715
QQ图片20200625145807

Hey bro, I just tested the .password file under the index directory and found that it actually worked.
Have you ever tried that?

![QQ截图20200625145715](https://user-images.githubusercontent.com/12976469/85673035-10e6e980-b6f6-11ea-97eb-bc61ef89d980.png) ![QQ图片20200625145807](https://user-images.githubusercontent.com/12976469/85673049-13e1da00-b6f6-11ea-97bf-aaee064bc26e.png) Hey bro, I just tested the .password file under the index directory and found that it actually worked. Have you ever tried that?
ashish453 commented 2020-06-28 00:27:43 +08:00 (Migrated from github.com)

Oh yess.

Oh yess.
ashish453 commented 2020-06-28 00:28:22 +08:00 (Migrated from github.com)

By the way bro please do something about multiple accounts support.
Index multiple accounts

By the way bro please do something about multiple accounts support. Index multiple accounts
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SomeBottle/OdIndex#3
No description provided.