July 2, 2015 · West Coast Media Solutions Inc. · 12 min read
Find every folder and file on your site that anyone on the server can write to, set folders to 755 and files to 644, and fix whatever problem made someone loosen them in the first place.
The setting nobody set back
An upload stopped working, or a plugin refused to install, or a gallery could not save its thumbnails. Someone searched for the error, found advice to set the folder to 777, and the problem went away.
Nobody set it back. The folder, and often everything inside it, has been writable by anything on the server ever since.
On a server of your own that is careless. On shared hosting, where hundreds of other accounts may run on the same machine, it leaves a door open.
The fix takes minutes once someone looks. The harder question is why the original problem seemed to need it.
What the numbers mean
Every file and folder on a web server has three sets of permissions, for its owner, a group and everyone else, each saying whether that party can read, write or run it.
644 for files: the owner can change them, everyone else can only read.
755 for folders: the owner can add files, everyone else can only look.
Tighter for the configuration file holding the database password.
777 for nothing: anyone on the server can add, change or delete.
The last is the one to hunt for. A folder set to 777 accepts new files from any program on the server, including programs that have nothing to do with your site.
Why shared hosting makes it worse
On many older shared servers, the scripts of every site on the machine run as the same system user: the web server itself.
So a script on someone else's site can write into your 777 folder as easily as your own site can. If that other site is hacked, your folder is open to whoever hacked it.
The planted files are usually scripts: one that sends spam through your account, one that serves a phishing page from your domain, or one that lets an intruder come back whenever they like.
Why someone set it in the first place
Usually because the site's scripts ran as the web server while the folders belonged to the account. The scripts were not allowed to write to their own upload folder, and 777 was the quickest way round it.
Sometimes files were uploaded by FTP under one owner and created by the site under another, and neither could touch the other's work.
And sometimes an installation guide simply said to do it. Plenty of older plugins and scripts shipped with that instruction, and each case has a proper fix that does not open the folder to everyone.
A worked example
A yacht broker with a small office at a marina lists forty or fifty boats at a time, each with a gallery of photos uploaded through a listings script added to its website in 2010.
When the site moved hosts in 2012, photo uploads failed. The contractor handling the move set the listings folder and everything under it to 777, and uploads worked again.
This spring the host's scanner found a script among the boat photos that had no business being there. It had been sending mail through the account.
The cause of the 2012 failure turned out to be ownership. The moved files belonged to a different user from the one the site ran as, and the new host had run scripts as the account owner all along.
After the cleanup, the files were given to the right owner, folders went to 755 and files to 644, and the photo folders were set to refuse to run scripts. Uploads still work.
Checking the whole site
The file manager in your hosting control panel shows the permissions beside every file. So do most FTP programs, as a three-digit number or a row of letters.
Clicking through folders by hand misses things. Ask your developer or the host for a list of everything that everyone can write to, which on most servers takes one command.
Look hardest at upload folders, cache folders, and anything belonging to a plugin, gallery or form the site no longer uses.
Setting them correctly
Folders at 755 and files at 644 suit most sites on most hosts, with the configuration file set tighter than that.
Upload folders need to be writable by the site's own account and nobody else. Where the host runs scripts as your account, 755 is already enough.
Add a rule to each upload folder that stops scripts running there. Photos and documents never need to run, and a planted script that cannot run is harmless.
Some hosts that run scripts as the account refuse to run anything from a folder writable by everyone, and show a server error instead. That error is a sign the setting was wrong, not the host.
Ask what the fix was for
Before tightening anything, find out what loosened it, because the original problem is still waiting underneath.
Many hosts let you choose how scripts run from the control panel, or will change it on request. Running them as your own account removes the reason for 777 entirely.
If a plugin or script still insists on a folder open to everyone, treat that as a sign of its age. Software written properly for shared hosting does not need it.
Test after the change
Afterwards, try everything that writes a file: uploading an image, sending each form that takes an attachment, clearing the cache, running a backup.
Watch the error log for permission errors over the next week, since some tasks run only at night or weekly.
Anything that fails has found the real problem. Fix that, and leave the permissions where they are.
The counter-case
On a host that runs each site's scripts as its own account, a 777 folder is less exposed to the neighbours, because their scripts run as their own accounts and usually cannot reach into yours.
A small site with no uploads, forms or plugins has little that writes anything, and little to plant files into.
Neither is a reason to leave it. Your own weakest script, such as an old upload form, can still write anywhere it is allowed to, and hosting changes when sites move.
Set folders and files to what the site needs and no more, and fix the cause of any problem that seemed to need otherwise.
The check
Ask for a list of everything writable by everyone.
Find out why each one was opened.
Fix ownership or how the host runs scripts.
Set folders to 755 and files to 644.
Tighten the configuration file further.
Stop scripts running in upload folders.
Test every upload, form and backup.
Step three is what keeps the fix in place. Without it, the next failed upload brings the old advice back, and someone opens the folder again.
That its owner, its group and everyone else on the server can read, write and open it. Any program on the machine can add or change files there.
What permissions should a website use?
Folders at 755 and files at 644 suit most sites, with the configuration file holding the database password set tighter still, and nothing at 777.
Why is shared hosting a particular risk?
On many older shared servers every site's scripts run as the same user, so a hacked site next door can write into any folder left open to everyone.
Why did someone set 777 originally?
Usually to make an upload work when scripts ran as a different user from the folder's owner. Fixing ownership, or how the host runs scripts, solves that properly.
Will tightening permissions break my site?
It can expose the original problem. Test uploads, forms, caching and backups afterwards, and fix ownership rather than reopening the folder if something fails.
Should upload folders be allowed to run scripts?
No. Photos and documents never need to run, so a rule that stops scripts running in upload folders makes any planted script harmless.
West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.
Folders opened to fix an upload?
Ask us for a permissions check. We will list what is open and why, and set it back safely.
West Coast Media Solutions Inc. ("Company," "we," "us," or "our") respects your privacy and is committed to protecting the personal information you share with us. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website, including any subdomains, and any related services, applications, or tools where this policy is referenced.
2. Information We Collect
We may collect personal information that you voluntarily provide when you use our contact forms, subscribe to newsletters, request a quote, or otherwise interact with our website. This may include your name, email address, phone number, company name, and any additional details you choose to share in message fields. We also automatically collect certain technical data when you visit our website, including your IP address, browser type, operating system, referring URLs, pages viewed, time spent on pages, and access timestamps.
3. How We Use Your Information
We use the information we collect to respond to your inquiries and provide requested services; to personalize and improve your experience on our website; to send you project updates, newsletters, and promotional communications (which you may opt out of at any time); to analyze usage trends and improve website performance; to detect, prevent, and address fraud, security issues, and technical problems; and to comply with applicable legal obligations and enforce our terms.
4. Cookies and Tracking Technologies
Our website uses cookies and similar tracking technologies to enhance your browsing experience, remember your preferences, and gather analytical data about how visitors use our site. You can control cookie preferences through your browser settings. For detailed information about our use of cookies, please see our Cookie Policy.
5. Third-Party Services
We may use third-party analytics services such as Matomo or Google Analytics to help us understand how visitors interact with our website. These services may collect information sent by your browser as part of a web page request, including cookies and your IP address. We may also use third-party services for email delivery, form processing, and content delivery networks. These providers have their own privacy policies governing the use of your information.
6. Data Sharing and Disclosure
We do not sell, trade, or rent your personal information to third parties. We may share your information with trusted service providers who assist us in operating our website and conducting our business, provided they agree to keep this information confidential. We may also disclose information when required by law, to protect our rights, to enforce our policies, or to respond to legal process.
7. Data Security
We implement appropriate technical and organizational measures to protect the personal information we collect and store. These include encrypted connections (SSL/TLS), secure server infrastructure, access controls, and regular security assessments. However, no method of transmission over the internet or electronic storage is 100% secure, and we cannot guarantee absolute security of your data.
8. Data Retention
We retain your personal information only for as long as necessary to fulfill the purposes for which it was collected, to comply with legal obligations, resolve disputes, and enforce our agreements. Contact form submissions and inquiry records are retained for a reasonable period based on the nature of the inquiry and applicable retention requirements. You may request deletion of your data at any time.
9. Your Rights
Depending on your jurisdiction, you may have the right to access, correct, update, or delete the personal information we hold about you. You may also have the right to object to or restrict certain processing of your data, to data portability, and to withdraw consent where processing is based on consent. To exercise any of these rights, please contact us using the information provided below. We will respond to your request within the timeframes required by applicable law.
10. Children's Privacy
Our website and services are not intended for individuals under the age of 16. We do not knowingly collect personal information from children. If we become aware that we have inadvertently collected personal data from a child under 16, we will take steps to delete such information promptly. If you believe we may have collected information from a child, please contact us immediately.
11. International Data Transfers
Your information may be transferred to and maintained on servers located outside your province, state, or country where data protection laws may differ from those in your jurisdiction. By providing your information, you consent to such transfer. We take steps to ensure that your data is treated securely and in accordance with this Privacy Policy regardless of where it is processed.
12. Changes to This Policy
We reserve the right to update or modify this Privacy Policy at any time. Any changes will be posted on this page with an updated effective date. We encourage you to review this policy periodically to stay informed about how we are protecting your information. Your continued use of the website after any changes constitutes acceptance of the revised policy.
Effective Date: April 2026 | West Coast Media Solutions Inc., Vancouver, BC, Canada
Cookie Policy
1. What Are Cookies
Cookies are small text files that are placed on your computer, smartphone, or other device when you visit a website. They are widely used to make websites work more efficiently, to provide a better browsing experience, and to supply reporting information to website operators. Cookies are stored in your browser and allow the website or a third-party service to recognize you and make your next visit easier.
2. How We Use Cookies
West Coast Media Solutions Inc. uses cookies for several purposes: to ensure the proper functioning and security of our website; to remember your preferences and settings; to understand how visitors navigate and interact with our pages; to analyze website traffic and measure the effectiveness of our content; and to deliver relevant information based on your browsing history and interests.
3. Types of Cookies We Use
Essential Cookies: These cookies are strictly necessary for the website to function. They enable core features such as page navigation, secure areas, and form submissions. The website cannot function properly without these cookies, and they cannot be disabled.
Analytics Cookies: These cookies help us understand how visitors interact with our website by collecting information about pages visited, time spent on the site, and any error messages encountered. All information collected by these cookies is aggregated and therefore anonymous.
Functional Cookies: These cookies enable the website to remember choices you make (such as your preferred language or region) and provide enhanced, more personalized features. They may also be used to provide services you have requested, such as watching a video or commenting on a blog.
Performance Cookies: These cookies collect information about how you use our website, such as which pages are most popular and how visitors move around the site. This helps us improve the way our website works and identify any technical issues.
4. Third-Party Cookies
In addition to our own cookies, we may also use various third-party cookies to report usage statistics of the website and deliver content and advertisements. Third-party services that may place cookies through our site include analytics providers, advertising networks, and social media platforms. These third parties have their own cookie and privacy policies that govern their use of your data.
5. Cookie Duration
Session Cookies: These cookies are temporary and are deleted from your device when you close your browser. They are used to maintain your session as you navigate between pages.
Persistent Cookies: These cookies remain on your device for a set period of time or until you delete them. They are used to remember your preferences and actions across multiple visits to our website.
6. Managing Your Cookie Preferences
Most web browsers allow you to control cookies through their settings. You can configure your browser to accept all cookies, reject all cookies, or notify you when a cookie is set. Please note that disabling or blocking certain cookies may affect the functionality of our website and your ability to access certain features. Browser help sections and external resources provide detailed instructions on managing cookies for all major browsers.
7. Do Not Track Signals
Some browsers include a "Do Not Track" (DNT) feature that signals to websites that you do not want your activity tracked. Because there is no universally accepted standard for how to respond to DNT signals, our website does not currently respond to DNT signals. However, you can control tracking through the cookie management options described above.
8. Consent
By continuing to use our website, you consent to the use of cookies as described in this Cookie Policy. If you do not agree to our use of cookies, you should adjust your browser settings accordingly or refrain from using our website. For users in jurisdictions that require explicit consent (such as the EU/EEA), we will present a cookie consent mechanism before non-essential cookies are placed.
9. Impact on Website Functionality
If you choose to disable cookies, some features of our website may not function as intended. This could include the inability to log in, loss of personalization, reduced analytics capabilities, and degraded overall experience. Essential cookies cannot be disabled as they are required for the basic operation of the website.
10. Updates to This Cookie Policy
We may update this Cookie Policy from time to time to reflect changes in technology, legislation, our business operations, or cookie practices. Any updates will be posted on this page with a revised effective date. We encourage you to check this page periodically to stay informed about our use of cookies.
Effective Date: April 2026 | West Coast Media Solutions Inc., Vancouver, BC, Canada
Terms of Use
1. Acceptance of Terms
By accessing and using the website operated by West Coast Media Solutions Inc. ("Company," "we," "us," or "our"), located at westcoastmediasolutions.com (the "Website"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Use. If you do not agree to these Terms, you must discontinue use of this Website immediately. We reserve the right to modify these Terms at any time, and such modifications shall be effective immediately upon posting.
2. Description of Services
West Coast Media Solutions Inc. provides digital marketing and web design services including, but not limited to, search engine optimization, search engine marketing, social media marketing, rich media advertising, programmatic media buying, digital consulting, and custom website design and development. The information presented on this Website is intended for general informational purposes and does not constitute a binding offer, contract, or guarantee of results.
3. Eligibility
You must be at least 18 years of age, or the age of majority in your jurisdiction (whichever is greater), to use this Website or engage our services. By using this Website, you represent and warrant that you meet this eligibility requirement and that you have the legal capacity to enter into a binding agreement.
4. Intellectual Property Rights
All content, materials, features, and functionality on this Website, including but not limited to text, graphics, logos, icons, images, audio clips, video clips, data compilations, software, and the design, selection, and arrangement thereof, are the exclusive property of West Coast Media Solutions Inc. or its content suppliers and are protected by Canadian and international copyright, trademark, patent, trade secret, and other intellectual property laws.
5. User Conduct
When using this Website, you agree not to use the Website for any unlawful purpose; attempt to gain unauthorized access to any portion of the Website or any systems connected to it; interfere with or disrupt the operation of the Website; use automated means to access or copy content without our express written consent; collect personal information of other users; impersonate any person or entity; or engage in any activity that could damage or impair the Website.
6. Submissions and Contact Forms
Any information or materials you submit through the Website's contact forms, email, or other communication channels shall be treated as non-confidential and non-proprietary unless otherwise specified in a separate written agreement. By submitting any such information, you grant the Company a non-exclusive, royalty-free, perpetual right to use, reproduce, modify, and distribute such content for any lawful business purpose.
7. Third-Party Links
This Website may contain links to third-party websites that are not owned or controlled by West Coast Media Solutions Inc. We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third-party websites. Your use of third-party websites is at your own risk, and we encourage you to read the terms and privacy policies of any websites you visit.
8. Disclaimer of Warranties
THIS WEBSITE AND ALL CONTENT, MATERIALS, INFORMATION, AND SERVICES PROVIDED ON OR THROUGH THIS WEBSITE ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, THE COMPANY DISCLAIMS ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
9. Limitation of Liability
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WEST COAST MEDIA SOLUTIONS INC., ITS DIRECTORS, OFFICERS, EMPLOYEES, AGENTS, PARTNERS, SUPPLIERS, OR AFFILIATES SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING FROM OR RELATED TO YOUR USE OF THE WEBSITE, WHETHER BASED ON WARRANTY, CONTRACT, TORT, OR ANY OTHER LEGAL THEORY.
10. Indemnification
You agree to defend, indemnify, and hold harmless West Coast Media Solutions Inc., its directors, officers, employees, agents, successors, and assigns from any claims, damages, obligations, losses, liabilities, costs, and expenses arising from your use of the Website, your violation of these Terms, or your violation of any third-party right.
11. Governing Law and Jurisdiction
These Terms shall be governed by and construed in accordance with the laws of the Province of British Columbia and the federal laws of Canada applicable therein. Any legal action arising from these Terms shall be instituted exclusively in the courts of British Columbia, Canada. You irrevocably waive any objections to jurisdiction and venue in such courts.
12. Changes to These Terms
We reserve the right to update or modify these Terms of Use at any time. Changes will be posted on this page with an updated effective date. Your continued use of the Website following the posting of revised Terms constitutes your acceptance of such changes.
Effective Date: April 2026 | West Coast Media Solutions Inc., Vancouver, BC, Canada
Legal Terms
1. Company Information
This website is owned and operated by West Coast Media Solutions Inc., a corporation incorporated federally under the Canada Business Corporations Act (corporation number 641461-3) and extraprovincially registered in British Columbia (registration number A0143178). Our registered office is located at 2400 - 1111 West Georgia Street, Vancouver, BC V6E 4S4, Canada. Telephone: (800) 959-4590.
2. Responsible for Content
The content of this website is provided by West Coast Media Solutions Inc. The person responsible for the content within the meaning of applicable legislation is the managing director of West Coast Media Solutions Inc., contactable at the registered office address listed above. All editorial content, service descriptions, and portfolio materials are reviewed and approved prior to publication.
3. Content Accuracy and Disclaimer
The contents of this website have been prepared with the utmost care. However, West Coast Media Solutions Inc. cannot guarantee the accuracy, completeness, or timeliness of the content provided. All information is subject to change without notice. We are not obligated to monitor transmitted or stored third-party information, nor to investigate circumstances that indicate unlawful activity. If we become aware of any such infringements, we will remove the content immediately.
4. External Links Disclaimer
Our website contains links to external websites of third parties over whose content we have no influence. We cannot assume any liability for third-party content. The respective provider or operator of the linked pages is always responsible for the content of those pages. Linked pages were checked for possible legal violations at the time of linking. Illegal content was not recognizable at the time of linking. Permanent monitoring of linked pages is not reasonable without concrete evidence of a violation.
5. Copyright and Intellectual Property
The content and works created by the operators of this website are subject to Canadian copyright law. Reproduction, editing, distribution, and any kind of exploitation outside the limits of copyright law require the written consent of the respective author or creator. Downloads and copies of this site are only permitted for private, non-commercial use. Third-party content is identified as such. Should you become aware of a copyright infringement, please notify us accordingly.
6. Trademark Notice
All trademarks, service marks, trade names, logos, and product names appearing on this website are the property of their respective owners. West Coast Media Solutions Inc. and the WCMS logo are trademarks of West Coast Media Solutions Inc. Reference to any products, services, or information by trade name, trademark, or otherwise does not constitute or imply endorsement, sponsorship, or recommendation by the company.
7. Professional Liability
Our liability for services rendered is governed by the terms of the individual service agreement executed between the Company and the client. Insurance requirements, where applicable to a particular engagement, are addressed in that agreement.
8. Dispute Resolution
West Coast Media Solutions Inc. endeavours to resolve any disputes arising from or in connection with our services amicably and directly with our clients. If a dispute cannot be resolved informally, it shall be governed by the laws of the Province of British Columbia and the federal laws of Canada applicable therein. The courts of British Columbia shall have exclusive jurisdiction over any dispute arising from or related to this website or the services provided.
9. Regulatory Compliance
West Coast Media Solutions Inc. operates in compliance with all applicable federal, provincial, and municipal laws and regulations, including but not limited to Canada's Anti-Spam Legislation (CASL), the Personal Information Protection and Electronic Documents Act (PIPEDA), the British Columbia Personal Information Protection Act (PIPA), the Competition Act, and all applicable advertising standards as set forth by Ad Standards Canada.
10. Limitation of Liability
To the fullest extent permitted by applicable law, West Coast Media Solutions Inc. and its officers, directors, employees, agents, and affiliates shall not be liable for any direct, indirect, incidental, special, consequential, or exemplary damages arising from or related to your use of the website, including but not limited to loss of data, loss of income, or loss of business opportunity, even if we have been advised of the possibility of such damages.
11. Severability
If any provision of these Legal Terms is held to be unenforceable or invalid by a court of competent jurisdiction, such provision shall be modified to accomplish the objectives of the original provision to the fullest extent permitted by law, and the remaining provisions shall continue in full force and effect.
12. Contact
If you have any questions regarding these Legal Terms, please contact West Coast Media Solutions Inc. at 2400 - 1111 West Georgia Street, Vancouver, BC V6E 4S4, Canada. Telephone: (800) 959-4590.
Last updated: April 2026
Accessibility Statement
1. Our Commitment
West Coast Media Solutions Inc. is committed to ensuring digital accessibility for people of all abilities. We continually work to improve the user experience for everyone who visits our website and strive to conform to applicable accessibility standards and guidelines. We believe the internet should be available and accessible to anyone, and we are committed to providing a website that is accessible to the widest possible audience.
2. Standards and Guidelines
We aim to conform to the Web Content Accessibility Guidelines (WCAG) 2.1 at the AA level, published by the World Wide Web Consortium (W3C). These guidelines provide a framework for making web content more accessible to people with disabilities, including visual, auditory, physical, speech, cognitive, language, learning, and neurological disabilities. Conformance with these guidelines also helps make web content more usable for all users.
3. Measures Taken
To ensure accessibility, we have implemented the following measures across our website: semantic HTML5 markup for proper document structure and screen reader compatibility; descriptive alt text for all meaningful images; sufficient color contrast ratios between text and background elements; keyboard-navigable interface elements including menus, links, buttons, and form fields; clear and consistent navigation structure throughout all pages; responsive design that adapts to different screen sizes, devices, and zoom levels; and descriptive link text that provides context about link destinations.
4. Assistive Technology Compatibility
Our website is designed to be compatible with commonly used assistive technologies, including screen readers such as JAWS, NVDA and VoiceOver, screen magnification software, speech recognition software, and alternative input devices. We build to accessibility standards and use automated testing tools during development. Where a specific assistive technology presents a barrier, we welcome reports so we can address it.
5. Multimedia Content
We strive to ensure that multimedia content on our website is accessible. Where video or audio content is provided, we aim to include captions, transcripts, or audio descriptions as appropriate. Images used for decorative purposes are marked accordingly so they do not interfere with screen reader navigation.
6. Document Accessibility
We are working to ensure that downloadable documents and files published on our website are accessible. Where possible, we provide content in accessible HTML format in addition to or instead of PDF format. For PDF documents, we strive to ensure they are properly tagged and structured for assistive technology access.
7. Third-Party Content
Our website may include content or functionality provided by third-party services, including embedded videos, social media feeds, analytics tools, and web fonts. While we make every effort to select accessible third-party solutions, we cannot guarantee that all third-party content meets accessibility standards. We welcome feedback on any third-party content that may present accessibility barriers.
8. Ongoing Efforts
Accessibility is an ongoing effort. We regularly review our website for accessibility issues, train our content team on accessibility best practices, incorporate accessibility testing into our development workflow, conduct periodic audits using both automated tools and manual testing, and monitor feedback from users to identify areas for improvement. We are committed to addressing any issues promptly and transparently.
9. Known Limitations
Despite our best efforts, some content on our website may not yet be fully accessible. We are aware that older content, certain complex interactive elements, and some third-party integrations may present challenges. We are actively working to address these limitations and improve accessibility across all areas of our website. If you encounter a specific barrier, please let us know so we can prioritize a solution.
10. Feedback and Contact
We welcome your feedback on the accessibility of our website. If you encounter accessibility barriers, have suggestions for improvement, or need assistance accessing any content or functionality, please contact us. You can reach West Coast Media Solutions Inc. at 2400 - 1111 West Georgia Street, Vancouver, BC V6E 4S4, Canada, or by telephone at (800) 959-4590. We aim to respond to accessibility feedback within 5 business days and to resolve reported issues as quickly as possible.
Last updated: April 2026 | West Coast Media Solutions Inc., Vancouver, BC, Canada