{"id":10627,"date":"2020-07-31T02:31:25","date_gmt":"2020-07-31T10:31:25","guid":{"rendered":"https:\/\/www.digitalaccesspass.com\/blog\/?p=10627"},"modified":"2020-11-29T00:55:59","modified_gmt":"2020-11-29T08:55:59","slug":"how-to-allow-members-to-upload-files-to-your-membership-site","status":"publish","type":"post","link":"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/","title":{"rendered":"How to allow members to upload files to your membership site!"},"content":{"rendered":"<h2 style=\"text-align: center;\"><strong>Want to allow members to upload files? You can easily do this using DAP!<\/strong><\/h2>\n<h2 style=\"text-align: center;\"><strong>Watch video for all the details<\/strong><\/h2>\n<p>DAP is one of the very membership plugins that supports &#8216;file uploads&#8217;. You can allow your users to upload files or submit new content!<\/p>\n<\/p>\n<p>If you are concerned about security, it&#8217;s a valid concern in general, but not if you use DAP&#8217;s file upload feature. We have added several security checks to prevent upload of malicious files. Watch the video above for details.<\/p>\n<\/p>\n<h2><strong>Form Builder &amp; Member Profile<\/strong><\/h2>\n<p>We&#8217;ve updated both DAP Form Builder and DAP Member Profile interfaces.<\/p>\n<\/p>\n<p>The <strong>DAP Form Builder<\/strong> will allow you to generate registration forms for your free products. You can now add an &#8220;File Uploads&#8221; option to your signup form to allow visitors to submit files at the time of registration.&nbsp;<\/p>\n<p>The <strong>DAP Member Profile<\/strong> form will allow your logged-in members to update their profile \/ account info. You can add &#8220;File Uploads&#8221; option to your member profile form to allow your logged-in members to upload files.<\/p>\n<h2><strong>Security Checks<\/strong><\/h2>\n<p>Security is a huge priority for us. We&#8217;ve added several security checks to prevent upload of malicious files.<strong>Key Security Features:<\/strong><strong>1. <\/strong><strong>File Type Restrictions<\/strong><\/p>\n<p><strong>\u200b\u200b<\/strong>DAP restricts file types to safe files only (the same file types allowed by WordPress core). <strong>\u200bAllowed file types are:<\/strong><\/p>\n<p><strong>Images:<\/strong>&nbsp; <em>.png, .gif, .jpg<\/em><strong>Documents:<\/strong><em>.doc, .xls, .ppt, .pdf<\/em><strong>Audio: <\/strong><em>.wav, .mp3, .mp4<\/em><strong>Video:<\/strong><em>.mpg, .mov, .wmv<\/em><\/p>\n<\/p>\n<p>By default, all the file types are turned <strong>off<\/strong>. You can enable one or more of these allowed file types.<\/p>\n<p><strong>2. Max Allowed File Size<\/strong><\/p>\n<p>You can limit the allowed file size. We&#8217;ve set the default limit to 2M which is typically the minimum upload size limit on servers. You can increase it, if needed.<strong>3. File Sanitization<\/strong><\/p>\n<p>We sanitize the file name to make sure it does not contain an extension that can execute code via the web server before it&#8217;s uploaded to the server. This is one of the big concerns when it comes to file upload security. We&#8217;ve taken care of this.<strong>4. Files are checked for content<\/strong><\/p>\n<p>We also check files for actual content. For example if you allow image upload, DAP will check the file to make sure it is actually an image (or whatever file type you expect) and not something pretending to be an image, before uploading it to your server.<strong>5. Only allow logged-in members that have access to specific products<\/strong><\/p>\n<p>Instead of allowing all website visitors to upload files (via registration form), make it available just to paying members of certain products (via member profile form).<\/p>\n<p><em>For e.g:<\/em><\/p>\n<p><span><img alt=\"\" width=\"1078\" data-init-width=\"1078\" height=\"98\" data-init-height=\"98\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/dapshortcode.png\" data-width=\"1078\" data-height=\"98\"><\/span><\/p>\n<p>This way only logged-in, paying members of certain products will be allowed to upload files.<strong>6. Security plugin<\/strong><\/p>\n<p>Be sure to use a security platform such as Sucuri to secure your website.<\/p>\n<h2><strong>Member Profile Updates<\/strong><\/h2>\n<p>We&#8217;ve updated the DAP Member Profile shortcode to allow file uploads.<\/p>\n<\/p>\n<p>You can either update your existing member profile shortcode or add a new shortcode, and enable file uploads option.&nbsp;By default,<em>&nbsp;file uploads<\/em> is turned off.&nbsp;<\/p>\n<p>You can create one or more member profile shortcodes:<\/p>\n<p><strong>Option 1:&nbsp;<\/strong>Create ONE shortcode that allows all updates (profile, password, file uploads, etc) in a single form.<\/p>\n<p><strong>Option 2:<\/strong> Create different shortcodes &#8211; one for just file uploads, another for change password, another for profile updates, etc.<\/p>\n<p><strong>Steps to enable file uploads in your member profile form:<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>1<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>Go to the DAP Member Page Builder. <strong>Add a NEW Profile shortcode OR<\/strong> Edit your existing profile shortcode.<\/strong><\/span><\/p>\n<p><span><img alt=\"\" width=\"798\" data-init-width=\"1524\" height=\"409\" data-init-height=\"781\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/memberprofile-sc.png\" data-width=\"798\" data-height=\"409\" style=\"\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>2<\/strong><\/p>\n<p style=\"\"><span style=\"color: rgb(20, 20, 21);\"><strong>Create a profile page. Click on customize to customize the profile form.<\/strong><\/span><\/p>\n<p><span style=\"\"><img alt=\"Select Dynamic field\" width=\"801\" data-init-width=\"1505\" height=\"438\" data-init-height=\"823\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/createprofile.png\" data-width=\"801\" data-height=\"438\" style=\"\" ml-d=\"0\" mt-d=\"-58\" title=\"Placeholder\" center-h-d=\"true\" center-v-d=\"false\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>3<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>In the customizer tab, enable file uploads. Set allowed file types and max file size.<\/strong><\/span><\/p>\n<p>Watch video above for more details.<\/p>\n<p><span style=\"\"><img alt=\"\" width=\"804\" data-init-width=\"1120\" height=\"534\" data-init-height=\"744\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/fileuploadsprofile.png\" data-width=\"804\" data-height=\"534\" style=\"\" ml-d=\"0\" mt-d=\"-2\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>4<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong><strong><strong>Save settings. It&#8217;ll give you a shortcode. Publish the shortcode on any WordPress page. That&#8217;s it! Your users can now upload files (as long as the file types match the ones you allow in the backend).<\/strong><\/strong><\/strong><\/span><\/p>\n<h2><strong>DAP Form Builder Updates<\/strong><\/h2>\n<p>If you want to allow users to upload files at the time of registration, go to DAP Dashboard &gt;&gt; Products &gt;&gt; Signup Forms page, create a new registration form and enable file uploads. You can only generate registration forms for your &#8220;free products&#8221;.&nbsp;<\/p>\n<p><strong>Steps to enable file uploads in your registration form.<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>1<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>Go to the DAP Products &gt;&gt; Signup Forms page. Create a new form.&nbsp;<\/strong><\/span><\/p>\n<p><span style=\"\"><img alt=\"\" width=\"917\" data-init-width=\"1386\" height=\"474\" data-init-height=\"716\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/createnewform.png\" data-width=\"917\" data-height=\"474\" style=\"\" mt-d=\"-1\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>2<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>Give the form a name, select your free product and pick a template. Currently only &#8220;Template 1&#8221; supports file uploads.<\/strong><\/span><\/p>\n<p><span style=\"\"><img alt=\"\" width=\"917\" data-init-width=\"1224\" height=\"536\" data-init-height=\"715\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/formtemplate.png\" data-width=\"917\" data-height=\"536\" style=\"\" mt-d=\"-1\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>3<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>In the customize form tab, enable file uploads. If you enable captcha, be sure to set your google recaptcha keys in DAP setup &gt;&gt; config page &gt;&gt; Google Keys tab.<\/strong><\/span><\/p>\n<p><span><img alt=\"\" width=\"798\" data-init-width=\"1127\" height=\"614\" data-init-height=\"867\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/formbuilderupload.png\" data-width=\"798\" data-height=\"614\" style=\"\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>4<\/strong><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>Save settings. It&#8217;ll give you a shortcode. Publish the shortcode on any WordPress page. That&#8217;s it! <\/strong><\/span><\/p>\n<p style=\"\"><span style=\"\"><strong>&nbsp;<\/strong><\/span><span style=\"\">Your users can now upload files (as long as the file types match the ones you allow in the backend).<\/span><\/p>\n<p><span style=\"color: rgb(20, 20, 21);\"><strong>Watch the video towards the top of this page for more details.&nbsp;<\/strong><\/span><\/p>\n<h2 style=\"\"><strong>View Uploaded Files in the DAP Edit Member Page<\/strong><\/h2>\n<p style=\"\"><span style=\"\">If you want to see the files your users have uploaded, go to DAP Dashboard &gt;&gt; Members page. Find the Member. Click on the name. It&#8217;ll bring you to the Edit Member page where you&#8217;ll find the &#8216;uploaded file&#8217; details.<\/span><\/p>\n<p><span style=\"\"><img alt=\"\" width=\"798\" data-init-width=\"1103\" height=\"661\" data-init-height=\"913\" loading=\"lazy\" src=\"\/\/digitalaccesspass.com\/images\/editmemberfiles.png\" data-width=\"798\" data-height=\"661\" style=\"\" mt-d=\"-1\"><\/span><\/p>\n<h2 style=\"text-align: center;\">FREE DOWNLOADS&nbsp;<\/h2>\n<p><span style=\"width: 100%;\"><img alt=\"book\" width=\"211\" height=\"273\" title=\"au_image_1a\" data-id=\"41592\" src=\"\/\/digitalaccesspass.com\/images\/bookimage.png\" style=\"\" data-width=\"211\" data-height=\"273\" data-init-width=\"653\" data-init-height=\"845\" loading=\"lazy\" mt-d=\"0\" center-v-d=\"false\" ml-d=\"0\"><\/span><span style=\"width: 100%;\"><img alt=\"checkout\" width=\"262\" height=\"208\" title=\"au_image_1a\" data-id=\"41592\" src=\"https:\/\/digitalaccesspass.com\/images\/2step-step1.png\" style=\"\" data-width=\"262\" data-height=\"208\" data-init-width=\"1063\" data-init-height=\"842\" loading=\"lazy\" ml-d=\"-13\" mt-d=\"0\" center-h-d=\"false\"><\/span><span style=\"width: 100%;\"><img alt=\"worksheet\" width=\"312\" height=\"207\" title=\"au_image_1a\" data-id=\"41592\" src=\"https:\/\/digitalaccesspass.com\/images\/19732.jpg\" style=\"\" data-width=\"312\" data-height=\"207\" data-init-width=\"7509\" data-init-height=\"5000\" loading=\"lazy\" ml-d=\"-11\" center-h-d=\"false\"><\/span><\/p>\n<p style=\"text-align: center;\"><strong>Don&#8217;t have a&nbsp;<\/strong><strong><span style=\"color: rgb(65, 119, 224);\">DAP\/SPC License <\/span><span style=\"color: rgb(44, 44, 44);\">yet<\/span><span style=\"color: rgb(65, 119, 224);\">?<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong>No platform will give you as many options as SPC &amp; DAP to grow your sales! Be sure to check out our platinum and elite packages!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to allow members to upload files? You can easily do this using DAP! Watch video for all the details DAP is one of the very membership plugins that supports &#8216;file uploads&#8217;. You can allow your users to upload files or submit new content! If you are concerned about security, it&#8217;s a valid concern in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":11484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to allow members to upload files to your membership site! - The DAP Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to allow members to upload files to your membership site! - The DAP Blog\" \/>\n<meta property=\"og:description\" content=\"Want to allow members to upload files? You can easily do this using DAP! Watch video for all the details DAP is one of the very membership plugins that supports &#8216;file uploads&#8217;. You can allow your users to upload files or submit new content! If you are concerned about security, it&#8217;s a valid concern in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/\" \/>\n<meta property=\"og:site_name\" content=\"The DAP Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DigitalAccessPass\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-31T10:31:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-29T08:55:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.digitalaccesspass.com\/blog\/wp-content\/uploads\/2020\/07\/fileuploads-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1707\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Veena Prashanth\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"4 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\",\"name\":\"DigitalAccessPass\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/DigitalAccessPass\",\"https:\/\/twitter.com\/poweredbydap\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/wp-content\/uploads\/2014\/12\/cdcaseblankdisc_800x550.jpg\",\"width\":800,\"height\":550,\"caption\":\"DigitalAccessPass\"},\"image\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#website\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/\",\"name\":\"The DAP Blog\",\"description\":\"Membership Plugin For WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.digitalaccesspass.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/wp-content\/uploads\/2020\/07\/fileuploads-scaled.jpg\",\"width\":2560,\"height\":1707},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#webpage\",\"url\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/\",\"name\":\"How to allow members to upload files to your membership site! - The DAP Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#primaryimage\"},\"datePublished\":\"2020-07-31T10:31:25+00:00\",\"dateModified\":\"2020-11-29T08:55:59+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#\/schema\/person\/7723f6dd886cc25c293e0e2dc450f7c3\"},\"headline\":\"How to allow members to upload files to your membership site!\",\"datePublished\":\"2020-07-31T10:31:25+00:00\",\"dateModified\":\"2020-11-29T08:55:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#primaryimage\"},\"articleSection\":\"DAP\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.digitalaccesspass.com\/blog\/2020\/07\/how-to-allow-members-to-upload-files-to-your-membership-site\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#\/schema\/person\/7723f6dd886cc25c293e0e2dc450f7c3\",\"name\":\"Veena Prashanth\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.digitalaccesspass.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0c6657fd51744b9b372731bef0730f08?s=96&d=mm&r=g\",\"caption\":\"Veena Prashanth\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/10627"}],"collection":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/comments?post=10627"}],"version-history":[{"count":107,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/10627\/revisions"}],"predecessor-version":[{"id":11556,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/posts\/10627\/revisions\/11556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/media\/11484"}],"wp:attachment":[{"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/media?parent=10627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/categories?post=10627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalaccesspass.com\/blog\/wp-json\/wp\/v2\/tags?post=10627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}