Using CloudCannon, you can create custom routes to password protect a specific directory within your site. Is it possible to create a custom password for the directory? Or do you have to use your CloudCannon login? There's no mention of a password within the documentation.
I would recommend creating a second site on a subpath (https://cloudcannon.com/jekyll/2019/09/30/exploring-subpaths/), and password-protecting the second site.
When you set up password authentication (https://docs.cloudcannon.com/hosting/authentication/password/), you set a password that website viewers will have to enter before viewing your site (separate from any other sort of log in). By default, this applies to your entire site.
The custom routes you mention let you specify which parts of your site have that authentication applied. Adding one route here would let you password protect one folder and the rest would be public.
You do not have to use your CloudCannon login. Go to Settings > Authentication > Password to set the password for the custom route.
Related
probrem
I am Google workspace user and using Google Compute Engine. I enabled OS login for our project, then login username changed to username_with_domain_suffix.
Now I would like to change my username as username with enabled-OS login, so I checked following document and ask workspace admin to turn checkbox [OS Login API and Include domain suffix in user names generated by the OS Login API ] off in Google Admin Console.
Although our admin change settings, my login user does not change and still being username_with_domain_suffix. Are there any other settings required to login with user without domain suffix? Thanks.
reference
change / set gcloud os login username?
Even the check box turned off at Google admin, previously created username won't change. Only the new os-login user will be affected. I think this is because the (posix) username is created at first use of os-login and do not change after that.
In this case, you can use Google Directory API to update your existing posix account information stored at Google Directory.
I had exact same issue and was able to update my posix username with that.
Reference: https://cloud.google.com/compute/docs/oslogin/manage-oslogin-in-an-org#modify-users
API: https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/update
You'd need to be a Google Workspace Admin(not GCP) to update it. I used "Try this method" in the API link. No need to write a code. But be careful, you may ruin your account info there.
Images are stored in an ftp server ,even they are present at the path, not displaying sometimes(first request/ refresh). I used the below code to specify the path :
<img src=" ftp://username:password#ip.ad.dr.ess/arunsimages/wall_X24JUmm.jpg"
but try to open the path in browser ,will display the image
Just as mplungjan mentioned above, you do not want to serve up an image via FTP in your HTML code. Anyone visiting your page can view the source and grab your username and password. Even if that user login is a read only privileged user, it is still a bad idea.
The IP address in your question resolves to a Net4 hosting account. The hosting provider most likely only allows one instance of that FTP login at a time. Which means the first person to visit your page will see the image, but until that person ends their session, the next visitor will not be able to view the image.
I strongly suggest you contact Net4 and disable that FTP username and password and create a new FTP username and password. If I was able to locate the page that contained the actual username and password because you had the actual IP address in the question, then most likely someone else already has or will once they see this question.
Have a Net4 hosting customer service representative assist you in how to correctly serve up an image with their services.
Is it possible to add a vcard for some other jabber user in ejabberd. I am logged in as admin#domain.com. While creating users in my website i am registering a jabber account for the same user. Now i need to add vcards for those users. While trying to add vcard for a new user, i can see that the vcard entry is added to the currently logged in user(in my case it is admin#domain.com). I am using strophe library and the code used for adding vcard is as follows.
iq = $iq({ type: 'set', to: 'user#domain.com' }).c('vCard', { xmlns:'vcard-temp' }).c('PHOTO').c('EXTVAL', 'http://image_url/image.jpg');
conn.sendIQ(iq);
But i can achieve the same using
ejabberdctl set_vcard jabber_id domain PHOTO img.jpg from CLI
The purpose is to add profile images to users. I have the profile images saved in my server for each users registered in my site. Currently i am doing an ajax call for fetching the user profile image. Is there any alternative for this? Any help will be really appreciable.
XMPP protocol does not define a way to edit vcard for other users and ejabberd does not implement something special to allow this.
You can use a database backend for Vcard or write a custom Vcard backend plugin to suit your needs.
I want to redirect the user from original url to other url
For example:
www.netflix.com to help.netflix.com
Please let me know how I can change it for a specific directory.
Thanks
You want to add subdomain or a parked domain which can be added via cpanel in your hosting account.
A domain structured like example.example.com is called a subdomain. Help page (tutorial for 1&1): Create a subdomain
I have created a new user, with a new role and I want to configure the user front page.
I added a document that the admin created, but when I login as my new user, I see a blanc page, I can't see the page content :(
What have I missed, is there another privileges that I need to set to my user to be able to see the document created by the admin?
Thanks in advance for your help!
you have to enter as admin and then:
1. enter the details of the user's role and enable required functionalities (documents browser, my data, my analysis, ...);
2. enter Menu configuration and define menu items for user's role.
As an alternative, you can develop an external web application using REST API.
Best regards
Davide