Adding a ShareFile Client Portal to your Website

Are you using ShareFile as a client or partner portal? If so, you can insert a link on your website to direct customers to log in to ShareFile!

To help you get started, we’ve created some example HTML code that you could easily incorporate into a website or webpage.

Note: ShareFile Support does not provide additional code or coding advice beyond the provided samples.

Sample Code Instructions Outcome

<a href=”” target=”_Blank”> Click here to sign in to ShareFile! </a>
Simply replace the highlighted section with your own account subdomain, and the text in green with whatever content you wish.

Using the basic template will place the hyperlink on your webpage.

Click here to sign in to ShareFile!

<a href=”” target=”_blank”>Login to ShareFile</a>
Replace the highlighted section with your own account subdomain, and the text in green with whatever content you wish.

Using the basic template will place a small graphical button on your website that, when clicked, directs users to your ShareFile account login screen.

User-added image


Optimizing a destination object

I need a solution

In an effort to optimize our existing allow rules, I’d like to create a request URL object whereby i can allow & without creating two objects and then injecting it into a combined destination object.

Would it work if I were to edit the advanced match where I place ‘fbcdn’ on the host field set to ‘contains?’

Secondary question, I’ve come to a conclusion that if I were to use advanced match for, it won’t work if I setup

Host: (domain)

Path: analytics (contains)

I have a suspicion that the path will not match if it exists on the subdomain unless i pick ‘at beginning.’



  • No Related Posts

Error adding a Directory Junction, “A NETBIOS name could not be found for this Directory Junction”

The process of verifying the AD junction can be seen in web.log. When you click the Create Directory Junction button at the end, we load several pieces of data from AD through the LDAP connection you have just built, including the NetBIOSName parameter.

Specifically, we are doing this:

2018-10-02 14:24:46,418 INFO [766] CDJCH LDAPService: Searching under ‘CN=Partitions,CN=Configuration,DC=domain,DC=dom’ using ‘(&(objectcategory=Crossref)(netBIOSName=*)(nCName=DC=sub1,DC=domain,DC=dom))’

That is, we are searching, under the root domain “domain.dom”, the Configuration contained, and in that, the Partitions container, and inside that, sub1..domai.dom. (If there is no “sub1”, then we’re simply looking for domain.dom here). We’re retrieving the NetBISName attribute of the selected domain.

This parameter should always be set. However, if the service account you have specified has no permissions to view this area, then we may be unable to retrieve the NetBIOSName attribute, and the process will fail.

To see the attribute, you cannot use Active Directory Users and Computers. You need to use ADSI Edit. When connecting to your server, select “Select a well known naming context” and in that pulldown, select Configuration. Then you will be able to see Partitions, and the information inside it. Get Properties on your domain or subdomain and check for the NetBIOSName attribute.


Re: LDAP query examples (Exchange archiving)

Below example can be customized as per customer requirement


This query will get all user of a group but will exclude user with display name starting with “user”


They can user multiple display name to exclude if they want as shown above


How to Create or Edit a SharFile Subdomain

To find your company’s unique subdomain, log in to your ShareFile account and locate the address in your browser’s URL bar. The part before is your subdomain.

User-added image

I don’t know my subdomain, but I know my email address and password!

If you know your email and password but not your subdomain, head to and use the Sign In button in the upper right.

Change Your ShareFile Subdomain

To change your subdomain:

  1. Settings > Admin Settings > Edit Company Branding

Your primary subdomain is listed beside the red asterisk and will be the subdomain you are directed to when logging in from You have the option to list alternative subdomains in the remaining two fields. Your alternate subdomains will direct you to the same exact ShareFile account as your primary subdomain. Your primary subdomain will appear on any links you send while signed in.

ShareFile does not recommend completely deleting your subdomain, as doing so will make the subdomain available for use by another ShareFile account. To change your subdomain, you can designate a new Primary Subdomain with the following steps:

  1. Create a new Alternate Subdomain
  2. Sign out
  3. Sign in at the Alternate Subdomain created in Step 1
  4. Click Admin, then Edit Subdomains
  5. Place your Alternate Subdomain into the Primary field
  6. Don’t forget to add your previous Primary Subdomain as an Alternate Subdomain, so that it cannot be taken by a new ShareFile account
  7. Save.

If you are an Enterprise customer that has configured user sign-in with ADFS, you will need to make additional changes to your ADFS configuration.