Hi everyone, I want to ask a question. I'm just using DSpace v6.3 xmlui and 
I'd like to make some customizations to a function. so i have some 
questions i hope you guys can help me.

1. Is it possible to set the uploaded PDF to not be able to do "text 
selection, copy/paste"?

2. Is it possible to provide a simple PDF viewer, for example with an 
iframe?

3. Is it possible to provide an input field for password confirmation as 
re-authentication when a user accesses the collection?

Should I make changes to the release version folder like 
"dspace-6.3-src-release" or to the "Dspace" folder that appears after the 
"mvn package" command?

I hope all of you help, thank you
Pada Senin, 06 Desember 2021 pukul 22.31.18 UTC+7 Tim Donohue menulis:

> Hi,
>
> The "upload.max" setting is no longer valid in DSpace 7.  It was removed 
> during the 6.x -> 7.x upgrade, as it only applied to DSpace 6.x and below.
>
> Because DSpace 7 uses Spring Boot for the backend, you can use Spring 
> Boot's own settings to tweak the maximum size of an uploaded file.  See
> https://spring.io/guides/gs/uploading-files/#_tuning_file_upload_limits
>
> By default, DSpace 7 sets both "spring.servlet.multipart.max-file-size" 
> and  "spring.servlet.multipart.max-request-size" to 512MB in this file: 
> https://github.com/DSpace/DSpace/blob/main/dspace-server-webapp/src/main/resources/application.properties#L127-L134
>
> However, you can override those defaults by specifying a *new value* in 
> your "local.cfg" (as any settings in local.cfg will override defaults in 
> that application.properties file).
>
> So, you could, for example set: "spring.servlet.multipart.max-file-size = 
> 1GB" to add a 1GB limit.  I believe you can also set these to "-1" to make 
> the file upload unlimited (however there is always a risk that a very large 
> upload will still fail if your request simply times out in Tomcat.)
>
> Hopefully that helps. Let us know if there are other questions on this 
> list.
>
> Tim
>
>
> On Monday, December 6, 2021 at 8:17:07 AM UTC-6 [email protected] 
> wrote:
>
>> As prescribed in Dspace7 documentation (under submission user 
>> interface/configuring the file upload step/basic settings), have tried 
>> increasing maximum upload file size by adding upload.max = -1 in dpsace.cfg 
>> but was unsuccessfull. Kindly help.
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/21a6267f-095b-403f-8eeb-ed8e7a8a84b8n%40googlegroups.com.

Reply via email to